Exemple #1
0
 public NotSpecification(RootSpecification <T> specification)
 {
     _specification = specification;
 }
Exemple #2
0
 public OrSpecification(IRootSpecification <T> left, IRootSpecification <T> right)
 {
     _right = right as RootSpecification <T> ?? throw new InvalidCastException(nameof(right));
     _left  = left as RootSpecification <T> ?? throw new InvalidCastException(nameof(left));;
 }
Exemple #3
0
 public AndSpecification(IRootSpecification <T> left, IRootSpecification <T> right)
 {
     _right = right as RootSpecification <T>;
     _left  = left as RootSpecification <T>;
 }