20 lines
623 B
C#
Raw Normal View History

2025-04-24 18:31:27 +08:00

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; }
}
}