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