20 lines
623 B
C#
20 lines
623 B
C#
|
|
|||
|
namespace MyCode.Project.Infrastructure
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Represents that the implemented classes are composite specifications.
|
|||
|
/// </summary>
|
|||
|
/// <typeparam name="T">The type of the object to which the specification is applied.</typeparam>
|
|||
|
public interface ICompositeSpecification<T> : ISpecification<T>
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets the left side of the specification.
|
|||
|
/// </summary>
|
|||
|
ISpecification<T> Left { get; }
|
|||
|
/// <summary>
|
|||
|
/// Gets the right side of the specification.
|
|||
|
/// </summary>
|
|||
|
ISpecification<T> Right { get; }
|
|||
|
}
|
|||
|
}
|