Base class for stateless specification.
Inheritance Hierarchy
| Object | ||||
| VisitableBase | ||||
| SpecificationBase<(Of <(<'TSpecification, TCandidate>)>)> | ||||
| StatelessSpecificationBase<(Of <(<'TSpecification, TCandidate>)>)> | ||||
| Any<(Of <(<'TCandidate>)>)> | ||||
| No<(Of <(<'TCandidate>)>)> | ||||
Assembly: Epic.Prelude
Declaration Syntax
| C# |
[SerializableAttribute] public abstract class StatelessSpecificationBase<TSpecification, TCandidate> : SpecificationBase<TSpecification, TCandidate> where TSpecification : class, Object, ISpecification<TCandidate>, IEquatable<TSpecification> where TCandidate : class
Generic Template Parameters
- TSpecification
- Type of the specification implemented.
- TCandidate
- Type of the candidates to satisfy the specification.
Members
| All Members | Constructors | Methods | |||
| Member | Description | |
|---|---|---|
| StatelessSpecificationBase<(Of <(<'TSpecification, TCandidate>)>)>()()()() |
Initializes a new instance of the StatelessSpecificationBase<(Of <(<'TSpecification, TCandidate>)>)> class.
| |
| EqualsA(TSpecification) |
Returns trueTruetrue for any TSpecification, since its has to be stateless.
(Overrides SpecificationBase<(Of <(<'TSpecification, TCandidate>)>)>.EqualsA(TSpecification).) |
