Summary
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> ExclusiveBetween<T>(this ICompositeSpecification<T> self, T from, T to, 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. |
from |
T |
Min candidate value. |
to |
T |
Max candidate value. |
comparer |
IComparer<T> |
Comparer. |
Return Value
Exceptions
Type |
Description |
System.ArgumentNullException |
Thrown when self is null. |
System.ArgumentException |
Thrown when from is greater than to. |