Пример #1
0
 public bool IsSatisfiedBy(Product product)
 {
     return  _specs.All(spec=> spec.IsSatisfiedBy(product));
 }
Пример #2
0
 public void Add(Product product)
 {
     products.Add(product);
 }