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

And Method (other)
Create a new ISpecification<(Of <(<'TCandidate>)>)> that evaluates the other only if the current specification is satisfied.

Assembly: Epic.Prelude

Declaration Syntax
C#
public ISpecification<Candidate> And(
	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 satisfied.
Remarks
This method calls AndAlso(ISpecification<(Of <<'(Candidate>)>>)) that can be overridden.
Exceptions
ExceptionCondition
ArgumentNullExceptionother is nullNothingnullptr.
blog comments powered by Disqus