Esempio n. 1
0
 /// <summary>
 ///     Create a new specification which is the logical AND of 2 specifications
 /// </summary>
 /// <typeparam name="T">Candidate type of specification</typeparam>
 /// <param name="lhs">LHS specification</param>
 /// <param name="rhs">RHS specification</param>
 /// <returns>New specification representing lhs AND rhs</returns>
 public static ISpecification <T> And <T>(this ISpecification <T> lhs, ISpecification <T> rhs)
 {
     return(AndSpecification <T> .Create(lhs, rhs));
 }