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

            return(SelectBy(spec));
        }