Summary
Creates logical OR
Specification
with newly created TSpecification.
- Namespace
- FluentSpecification
.Core - Containing Type
- SpecificationCore
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> Or<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
Name | Type | Description |
---|---|---|
self | ISpecification |
Self specification. |
Return Value
Type | Description |
---|---|
I |
Or Specification . |
Exceptions
Type | Description |
---|---|
System.ArgumentNullException | Thrown when self is null. |