PreconditionsConfValueExists Method |
Throws if value form a config node is null or empty string.
Namespace:
KSPDev.ProcessingUtils
Assembly:
KSPDev_Utils.2.3 (in KSPDev_Utils.2.3.dll) Version: 2.3 for KSP v1
Syntaxpublic static void ConfValueExists(
Object arg,
string path,
Object context = null
)
Request Example
View SourceParameters
- arg
- Type: SystemObject
The value to check. - path
- Type: SystemString
The path to the value or node. - context (Optional)
- Type: SystemObject
The optional "owner" object.
ExceptionsException | Condition |
---|
InvalidOperationException | If condition fails. |
See Also