Пример #1
0
 public bool IsSatisfiedBy(Product product)
 {
     return (product.Color == ProductColor) && (product.Size == ProductSize);
 }
Пример #2
0
 public bool IsSatisfiedBy(Product product)
 {
     return product.Color == ProductColor;
 }
Пример #3
0
 public bool IsSatisfiedBy(Product product)
 {
     return product.Size == ProductSize;
 }