public OrderCalculator2( ICanDiscountStrategy canDiscountStrategy, IGetDiscountStrategy getDiscountStrategy) { this.canDiscountStrategy = canDiscountStrategy; this.getDiscountStrategy = getDiscountStrategy; }
public Casher(IGetDiscountStrategy getDiscountStrategy) { DiscountStrategy = getDiscountStrategy; }