The following tables list the members exposed by Check.
Name | Description | |
---|---|---|
ArraySize<T> | Verifies that the array is not empty and has at least min, but not more than max items. throws ArgumentNullExcpetion throws ArgumentOutOfRangeException | |
Assert | Overloaded. Verifies that the condition is true and if it fails constructs the specified type of exception and throws. | |
InRange<T> | Verifies that the value is min, max, or between the two. throws ArgumentOutOfRangeException | |
IsAssignable | Overloaded. Returns (T)value if the object provided can be assinged to a variable of type T throws ArgumentException | |
IsEqual<T> | Verifies that the two values are the same throws ArgumentException | |
NotEmpty | Overloaded. Verfies that the string is not null and not empty and returns the string. throws ArgumentNullException, ArgumentOutOfRangeException | |
NotEqual<T> | Verifies that the two values are NOT the same throws ArgumentException | |
NotNull<T> | Verifies that value is not null and returns the value or throws ArgumentNullException |