Summary
Creates logical AND Specification with newly created and negated TSpecification.
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> AndNot<T, TSpecification>(this ISpecification<T> self)
where TSpecification : ISpecification<T>, new()
Attributes
| Type |
Description |
| PublicAPI |
|
| NotNull |
|
Type Parameters
| Name |
Description |
| T |
Type of candidate. |
| TSpecification |
Type of new Specification. |
Parameters
Return Value
Exceptions
| Type |
Description |
| System.ArgumentNullException |
Thrown when self is null. |