Fork me on GitHubEpicdominant domains
APIEpic.SpecificationsSpecificationBase<(Of <(<'TSpecification, Candidate>)>)>Or(ISpecification<(Of <<'(Candidate>)>>))

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