Summary
Creates
Specification
for candidate value comparison.
- Namespace
- FluentSpecification
.Common - Containing Type
- Inclusive
Between Specification <T>
Syntax
[PublicAPI]
public InclusiveBetweenSpecification(T from, T to, IComparer<T> comparer = null)
Attributes
Type | Description |
---|---|
PublicAPI |
Parameters
Return Value
Type | Description |
---|---|
void |
Exceptions
Type | Description |
---|---|
System.ArgumentException | Thrown when T has no valid comparison methods. |
System.ArgumentException | Thrown when from is greater than to. |