ArgumentGuard Class |
Namespace: KSPDev.ProcessingUtils
The ArgumentGuard type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | HasElements | Throws if collection is empty. |
![]() ![]() | HasSize | Throws if collection has not the expected number of elements. |
![]() ![]() | InRangeT | Throws if ordinary value is out of bounds. |
![]() ![]() | NotNull | Throws if argument is null. |
![]() ![]() | NotNullOrEmpty | Throws if string is null or empty. |
![]() ![]() | OneOfT | Throws if enum value is not in the expected set. |