Fork me on GitHubEpicdominant domains
APIEpic.SpecificationsDisjunction<(Of <(<'TCandidate>)>)>

Disjunction<(Of <(<'TCandidate>)>)>
Specification that is satisfied by any TCandidate that is satisfied by at least one of the specifications.
Inheritance Hierarchy
Object
VisitableBase
 SpecificationBase<(Of <(<'Disjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)>
  Disjunction<(Of <(<'TCandidate>)>)>

Assembly: Epic.Prelude

Declaration Syntax
C#
[SerializableAttribute]
public sealed class Disjunction<TCandidate> : SpecificationBase<Disjunction<TCandidate>, TCandidate>, 
	IEquatable<Disjunction<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 MembersMethods    



MemberDescription
EqualsA(Disjunction<(Of <<'(TCandidate>)>>))
Determine whether the current Disjunction<(Of <(<'TCandidate>)>)> is equal to otherSpecification.
(Overrides SpecificationBase<(Of <(<'Disjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.EqualsA(TSpecification).)
IsSatisfiedByA(TCandidate)
Determines whether this specification is satisfied by candidate.
(Overrides SpecificationBase<(Of <(<'Disjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.IsSatisfiedByA(Candidate).)
OrElse(ISpecification<(Of <<'(TCandidate>)>>))
Returns a new Disjunction<(Of <(<'TCandidate>)>)> that will be satisfied when either the current specification or the other are satisfied.
(Overrides SpecificationBase<(Of <(<'Disjunction<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.OrElse(ISpecification<(Of <<'(Candidate>)>>)).)
ToString()()()()
Returns a String that represents the current specification in a mathematical notation.
(Overrides Object.ToString()()()().)
blog comments powered by Disqus