Summary
Creates AllSpecification<T, TType>
:
Checks if ISpecification<T>
is satisfied by ALL elements in candidate collection.
- Namespace
- FluentSpecification
- Containing Type
- Specification
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> All<T, TType>(ISpecification<TType> allSpecification)
where T : IEnumerable<TType>
Attributes
Type | Description |
---|---|
PublicAPI | |
NotNull |
Type Parameters
Name | Description |
---|---|
T | Collection type to iterate (IEnumerable<T> ). |
TType | Type of collection element to verify. |
Parameters
Name | Type | Description |
---|---|---|
allSpecification | ISpecification |
Specification for candidate one element. |
Return Value
Type | Description |
---|---|
I |
New complex Specification . |