Preconditions Class |
Namespace: KSPDev.ProcessingUtils
The Preconditions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ConfValueExists | Throws if value form a config node is null or empty string. |
![]() ![]() | HasSize | Throws if collection has not the expected number of elements. |
![]() ![]() | MakeContextError(Object, String) | Makes error text with respect to the context. |
![]() ![]() | MakeContextError(Object, String, Object) | Makes error text with respect to the context. |
![]() ![]() | MinElements | Throws if collection has less elements than required. |
![]() ![]() | NotNull | Throws if value is null. |
![]() ![]() | NotNullOrEmpty | Throws if string is null or empty. |
![]() ![]() | OneOfT | Throws if enum value is not in the expected set. |