Example #1
0
 public OrSpecification(Specification <T> spec1, Specification <T> spec2)
 {
     _spec1 = spec1 ?? throw new ArgumentNullException(nameof(spec1));
     _spec2 = spec2 ?? throw new ArgumentNullException(nameof(spec2));
 }
Example #2
0
 public OrSpecification(Specification <T> spec1, Specification <T> spec2)
 {
     this.spec1 = spec1 ?? throw new ArgumentNullException("spec1");
     this.spec2 = spec2 ?? throw new ArgumentNullException("spec2");
 }