Class CompositeSpecification<T>
Represents the base class for composite specifications.
Inheritance
System.Object
CompositeSpecification<T>
Namespace: Volo.Abp.Specifications
Assembly: Volo.Abp.Specifications.dll
Syntax
public abstract class CompositeSpecification<T> : Specification<T>, ICompositeSpecification<T>, ISpecification<T>
Type Parameters
Name | Description |
---|---|
T | The type of the object to which the specification is applied. |
Constructors
CompositeSpecification(ISpecification<T>, ISpecification<T>)
Constructs a new instance of CompositeSpecification<T> class.
Declaration
protected CompositeSpecification(ISpecification<T> left, ISpecification<T> right)
Parameters
Type | Name | Description |
---|---|---|
ISpecification<T> | left | The first specification. |
ISpecification<T> | right | The second specification. |
Properties
Left
Gets the first specification.
Declaration
public ISpecification<T> Left { get; }
Property Value
Type | Description |
---|---|
ISpecification<T> |
Right
Gets the second specification.
Declaration
public ISpecification<T> Right { get; }
Property Value
Type | Description |
---|---|
ISpecification<T> |