Summary
Creates AndSpecification<T>
:
Join Specifications
by logical AND. Second Specifications
is negated.
- Namespace
- FluentSpecification
- Containing Type
- Specification
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> AndNot<T>(ISpecification<T> left, ISpecification<T> right)
Attributes
Type | Description |
---|---|
PublicAPI | |
NotNull |
Type Parameters
Name | Description |
---|---|
T | Type of candidate to verify. |
Parameters
Name | Type | Description |
---|---|---|
left | ISpecification |
Base first Specification . |
right | ISpecification |
Base second Specification . |
Return Value
Type | Description |
---|---|
I |
New complex Specification . |
Exceptions
Type | Description |
---|---|
System.ArgumentNullException | Thrown when left or right is null. |