Exemplo n.º 1
0
 public NotSpecification(RootSpecification <T> specification)
 {
     _specification = specification;
 }
Exemplo n.º 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));;
 }
Exemplo n.º 3
0
 public AndSpecification(IRootSpecification <T> left, IRootSpecification <T> right)
 {
     _right = right as RootSpecification <T>;
     _left  = left as RootSpecification <T>;
 }