Summary
Composes self Specification with MinLengthSpecification<T> negation:
Checks if length of candidate is not greater than or equal to (is less than) Min value.
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> NotMinLength<T>(this ICompositeSpecification<T> self, int minLength)
where T : IEnumerable
Attributes
| Type |
Description |
| PublicAPI |
|
| NotNull |
|
Type Parameters
| Name |
Description |
| T |
Type of candidate to verify (collection or string). |
Parameters
| Name |
Type |
Description |
| self |
ICompositeSpecification<T> |
Self specification. |
| minLength |
int |
Not minimum candidate length. |
Return Value
Exceptions
| Type |
Description |
| System.ArgumentNullException |
Thrown when self is null. |