Method ArgumentIsGreaterThan
ArgumentIsGreaterThan<T>(Expression<Func<T>>, T)
Checks if given argument is greater than given value.
Declaration
public static void ArgumentIsGreaterThan<T>(Expression<Func<T>> expression, T givenValue) where T : struct, IComparable<T>
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<T>> | expression | Given argument |
T | givenValue | Given value. |
Type Parameters
Name | Description |
---|---|
T |