Summary
Composes self Specification
with LessThanOrEqualSpecification<T>
negation:
Checks if candidate object is not lower than or equal to (greater than) expected value.
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> NotLessThanOrEqual<T>(this ICompositeSpecification<T> self, T notLessThan, IComparer<T> comparer = null)
Attributes
Type |
Description |
PublicAPI |
|
NotNull |
|
Type Parameters
Name |
Description |
T |
Type of compared objects. |
Parameters
Name |
Type |
Description |
self |
ICompositeSpecification<T> |
Self specification. |
notLessThan |
T |
Candidate should not be less than or equal to value. |
comparer |
IComparer<T> |
Comparer. |
Return Value
Exceptions
Type |
Description |
System.ArgumentNullException |
Thrown when self is null. |
System.ArgumentException |
Thrown when T has no valid comparison methods. |