Beispiel #1
0
 /// <summary>
 /// Returns a new specificationStrategy which has been combined with the current and the specified specificationStrategy using the logical "or".
 /// </summary>
 public ISpecificationQueryStrategy <T> Or(SpecificationQueryStrategy <T> specificationStrategy)
 {
     return(new SpecificationQueryStrategy <T>(Predicate.Or(specificationStrategy.Predicate)));
 }
 /// <summary>
 /// Returns a new specificationStrategy which has been combined with the current and the specified specificationStrategy using the logical "or".
 /// </summary>
 public ISpecificationQueryStrategy <T> Or([NotNull] SpecificationQueryStrategy <T> specificationStrategy)
 {
     return(new SpecificationQueryStrategy <T>(Predicate.Or(Guard.NotNull(specificationStrategy, nameof(specificationStrategy)).Predicate)));
 }