Exemple #1
0
 public IList BelowPriceAvoidingAColor(double price, int color)
 {
     Spec spec = new AndSpec(new BelowPriceSpec(price), new NotSpec(new ColorSpec(color)));
     return SelectBy(spec);
 }
Exemple #2
0
        public IList BelowPriceAvoidingAColor(double price, int color)
        {
            Spec spec = new AndSpec(new BelowPriceSpec(price), new NotSpec(new ColorSpec(color)));

            return(SelectBy(spec));
        }