/// <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);
/// <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);
/// <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);