Example #1
0
 public SpecificationBase <T> Or(SpecificationBase <T> specification)
 {
     return(new OrSpecification <T>(this, specification));
 }
Example #2
0
 public AndSpecification(SpecificationBase <T> left, SpecificationBase <T> right)
 {
     _right = right;
     _left  = left;
 }
Example #3
0
 public SpecificationBase <T> And(SpecificationBase <T> specification)
 {
     return(new AndSpecification <T>(this, specification));
 }
Example #4
0
 public NotSpecification(SpecificationBase <T> specification)
 {
     _specification = specification ?? throw new ArgumentNullException(nameof(specification));
 }