Create a new ISpecification<(Of <(<'TCandidate>)>)> that evaluates the other
only if the current specification is not satisfied.
Assembly: Epic.Prelude
Declaration Syntax
C# |
public ISpecification<Candidate> Or( ISpecification<Candidate> other )
Parameters
- other (ISpecification<(Of <(<'Candidate>)>)>)
- The other specification to evaluate.
Return Value
A new ISpecification<(Of <(<'TCandidate>)>)> that evaluates the other
only if the current specification is not satisfied.
Remarks
This method calls OrElse(ISpecification<(Of <<'(Candidate>)>>)) that can be overridden.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | other is nullNothingnullptr. |