For Babelfish Release 1.11.4.5

CompositeSpecificationT Class

Abstract class implementing the Specification Pattern.

The Specification Patter: A Primer

Definition

Namespace: Scopos.BabelFish.DataActors.Specification
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.4.5+89835fe347ec3eb6d8507435ea2625698f1c3143
C#
public abstract class CompositeSpecification<T> : ISpecification<T>
Inheritance
Object    CompositeSpecificationT
Derived
More
Implements
ISpecificationT

Type Parameters

T

Remarks

Code largely taken from https://en.wikipedia.org/wiki/Specification_pattern#C#_6.0_with_generics

Constructors

CompositeSpecificationTInitializes a new instance of the CompositeSpecificationT class

Properties

Messages Error messages to present to the user.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsSatisfiedByAsync Method to invoke to check the specification of a class of type T.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also