Summary
Creates LengthSpecification<T>
negation:
Checks if length of candidate is not equal to specific value.
- Namespace
- FluentSpecification
- Containing Type
- Specification
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> NotLength<T>(int length) 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 |
---|---|---|
length | int | Not expected candidate length. |
Return Value
Type | Description |
---|---|
I |
New complex Specification . |