Summary
Creates ExclusiveBetweenSpecification<T>
negation :
Checks if candidate object is not between (exclusive) min and max value.
- Namespace
- FluentSpecification
- Containing Type
- Specification
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> NotExclusiveBetween<T>(T notFrom, T notTo, IComparer<T> comparer = null)
Attributes
Type | Description |
---|---|
PublicAPI | |
NotNull |
Type Parameters
Name | Description |
---|---|
T | Type of compared objects. |
Parameters
Name | Type | Description |
---|---|---|
notFrom | T | Not min candidate value. |
notTo | T | Not max candidate value. |
comparer | IComparer |
Comparer. |
Return Value
Type | Description |
---|---|
I |
New complex Specification . |
Exceptions
Type | Description |
---|---|
System.ArgumentException | Thrown when notFrom is greater than notTo. |