Summary
Creates Specification
for candidate value comparison.
Syntax
[PublicAPI]
protected BaseLessCompareSpecification(T lessThan, Func<Expression, Expression, Expression> compareExpression, IComparer<T> comparer = null)
Attributes
Type |
Description |
PublicAPI |
|
Parameters
Name |
Type |
Description |
lessThan |
T |
Candidate should be less than value. |
compareExpression |
Func<Expression, Expression, Expression> |
Linq Expression for values comparison. |
comparer |
IComparer<T> |
Comparer. |
Return Value
Exceptions
Type |
Description |
System.ArgumentException |
Thrown when T has no valid comparison methods. |