Пример #1
0
 /// <summary>
 /// This specification or the other specification must evaluate to an expression that returns true when the resulting predicate is evaluated.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public Specification <T> Or(Specification <T> other) => new OrSpecification <T>(this, other);
Пример #2
0
 /// <summary>
 /// This specification, not the other specification must evaluate to an expression that returns true when the resulting predicate is evaluated.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public Specification <T> Not(Specification <T> other) => new NotSpecification <T>(this, other);
Пример #3
0
 /// <summary>
 /// This specification and the other specification must evaluate to an expression that returns true when the resulting predicate is evaluated.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public Specification <T> And(Specification <T> other) => new AndSpecification <T>(this, other);