public override bool IsSatisfiedBy(Product product) { return(product.Price < _price); }
public void Add(Product product) { _products.Add(product); }
public override bool IsSatisfiedBy(Product product) { return product.Price < _price; }
public override bool IsSatisfiedBy(Product product) { return product.Color.Equals(_productColor); }
public override bool IsSatisfiedBy(Product product) { return(product.Size.Equals(_productSize)); }
public abstract bool IsSatisfiedBy(Product product);
public override bool IsSatisfiedBy(Product product) { return(product.Color.Equals(_productColor)); }
public abstract bool IsSatisfiedBy(Product product);
public void Add(Product product) { _products.Add(product); }