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

            return(SelectBy(spec));
        }