Method ArgumentIsLowerOrEqual
ArgumentIsLowerOrEqual<T>(Expression<Func<T>>, T)
Checks if given argument is lower or equal to given value.
Declaration
public static void ArgumentIsLowerOrEqual<T>(Expression<Func<T>> argument, T givenValue) where T : struct, IComparable<T>
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<T>> | argument | Given argument |
T | givenValue | Given value. |
Type Parameters
Name | Description |
---|---|
T |