Summary
Creates Specification
for candidate value comparison.
Syntax
[PublicAPI]
protected BaseCompareSpecification(T limit, Func<Expression, Expression, Expression> compareExpression, IComparer<T> comparer)
Attributes
Type |
Description |
PublicAPI |
|
Parameters
Name |
Type |
Description |
limit |
T |
Limit value for comparison. |
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. |