Create a new Disjunction<(Of <(<'TCandidate>)>)> that evaluates the other
only if the current specification is not satisfied.
Assembly: Epic.Prelude
Declaration Syntax
C# |
protected virtual ISpecification<Candidate2> OrElse( ISpecification<Candidate2> other )
Parameters
- other (ISpecification<(Of <(<'Candidate2>)>)>)
- The other specification to evaluate (that will not be nullNothingnullptr).
Return Value
A new Disjunction<(Of <(<'TCandidate>)>)> that evaluates the other
only if the current specification is not satisfied.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | other is nullNothingnullptr. |