Fork me on GitHubEpicdominant domains
APIEpic.SpecificationsSpecificationBase<(Of <(<'TSpecification, Candidate1, Candidate2>)>)>OrElse(ISpecification<(Of <<'(Candidate2>)>>))

OrElse Method (other)
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
ExceptionCondition
ArgumentNullExceptionother is nullNothingnullptr.
blog comments powered by Disqus