namespace Abp.Specifications
{
///
/// Represents the base class for composite specifications.
///
/// The type of the object to which the specification is applied.
public abstract class CompositeSpecification : Specification, ICompositeSpecification
{
///
/// Gets the first specification.
///
public ISpecification Left { get; }
///
/// Gets the second specification.
///
public ISpecification Right { get; }
///
/// Constructs a new instance of class.
///
/// The first specification.
/// The second specification.
protected CompositeSpecification(ISpecification left, ISpecification right)
{
Left = left;
Right = right;
}
}
}