Summary
Creates logical OR
Specification with negated other.
- Namespace
- FluentSpecification
.Core - Containing Type
- SpecificationCore
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> OrNot<T>(this ISpecification<T> self, ISpecification<T> other)
Attributes
| Type | Description |
|---|---|
| PublicAPI | |
| NotNull |
Type Parameters
| Name | Description |
|---|---|
| T | Type of candidate. |
Parameters
| Name | Type | Description |
|---|---|---|
| self | ISpecification |
Self specification. |
| other | ISpecification |
Other specification. |
Return Value
| Type | Description |
|---|---|
| I |
Or Specification. |
Exceptions
| Type | Description |
|---|---|
| System.ArgumentNullException | Thrown when self or other is null. |

