Argument
Argument validation.
Throws if value is not defined for enumType.
public static void AssertInRange<T>(T value, T minimum, T maximum, string name) where T : IComparable<T>
Throws if value is less than the minimum or greater than the maximum.
Throws if value is the default value for type T.
Throws if value is null.
Throws if value has not been initialized.
Throws if value is null or an empty collection.
Throws if value is null or an empty string.
Throws if value is null, an empty string, or consists only of white-space characters.
Throws if value is not null.
Throws if value has not been initialized; otherwise, returns value.
Throws if value is null or an empty string; otherwise, returns value.