Specification that is satisfied by any TCandidate that doesn't satisfy the negated one.
Inheritance Hierarchy
| Object | |||
| VisitableBase | |||
| SpecificationBase<(Of <(<'Negation<(Of <(<'TCandidate>)>)>, TCandidate>)>)> | |||
| Negation<(Of <(<'TCandidate>)>)> | |||
Assembly: Epic.Prelude
Declaration Syntax
| C# |
[SerializableAttribute] public sealed class Negation<TCandidate> : SpecificationBase<Negation<TCandidate>, TCandidate>, IEquatable<Negation<TCandidate>>, IMonadicSpecificationComposition<TCandidate>, ISpecification, IVisitable where TCandidate : class
Generic Template Parameters
- TCandidate
- The type of the objects that can be tested with this specification.
Members
| All Members | Methods | Properties | |||
| Member | Description | |
|---|---|---|
| BuildNegation(ISpecification<(Of <<'(TCandidate>)>>)%) |
Set Negated in negation.
(Overrides SpecificationBase<(Of <(<'Negation<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.BuildNegation(ISpecification<(Of <<'(Candidate>)>>)%).) | |
| EqualsA(Negation<(Of <<'(TCandidate>)>>)) |
Determine whether the current Negation<(Of <(<'TCandidate>)>)> negates the same
ISpecification<(Of <(<'TCandidate>)>)> that otherSpecification negates.
(Overrides SpecificationBase<(Of <(<'Negation<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.EqualsA(TSpecification).) | |
| IsSatisfiedByA(TCandidate) | (Overrides SpecificationBase<(Of <(<'Negation<(Of <(<'TCandidate>)>)>, TCandidate>)>)>.IsSatisfiedByA(Candidate).) | |
| Negated |
Negated specification.
| |
| ToString()()()() |
Returns a String that represents the current specification in a mathematical notation.
(Overrides Object.ToString()()()().) |
