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<Candidate2> Or( ISpecification<Candidate2> other )
Parameters
- other (ISpecification<(Of <(<'Candidate2>)>)>)
- 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 <<'(Candidate2>)>>)) that can be overridden.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | other is nullNothingnullptr. |