Specification that is satisfied by any TCandidate that is satisfied by all the
specifications.
Inheritance Hierarchy
Object | |||
VisitableBase | |||
SpecificationBase<(Of <(<'Conjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)> | |||
Conjunction<(Of <(<'TCandidate>)>)> |
Assembly: Epic.Prelude
Declaration Syntax
C# |
[SerializableAttribute] public sealed class Conjunction<TCandidate> : SpecificationBase<Conjunction<TCandidate>, TCandidate>, IEquatable<Conjunction<TCandidate>>, IEnumerable<ISpecification<TCandidate>>, IEnumerable, IPolyadicSpecificationComposition<TCandidate>, ISpecification, IVisitable where TCandidate : class
Generic Template Parameters
- TCandidate
- The type of the objects that can be tested with this specification.
Remarks
This specification aggregates other specifications but removes duplicates.
Members
All Members | Methods | ||||
Member | Description | |
---|---|---|
AndAlso(ISpecification<(Of <<'(TCandidate>)>>)) |
Returns a new Conjunction<(Of <(<'TCandidate>)>)> that will be satisfied when both
the current specification and the other are satisfied.
(Overrides SpecificationBase<(Of <(<'Conjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.AndAlso(ISpecification<(Of <<'(Candidate>)>>)).) | |
EqualsA(Conjunction<(Of <<'(TCandidate>)>>)) |
Determine whether the current Conjunction<(Of <(<'TCandidate>)>)> is equal
to otherSpecification.
(Overrides SpecificationBase<(Of <(<'Conjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.EqualsA(TSpecification).) | |
IsSatisfiedByA(TCandidate) |
Determines whether this specification is satisfied by candidate.
(Overrides SpecificationBase<(Of <(<'Conjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.IsSatisfiedByA(Candidate).) | |
ToString()()()() |
Returns a String that represents the current specification in a mathematical notation.
(Overrides Object.ToString()()()().) |