public DiscountCalculator(ICanTellDisplayTheTotal totaler, ICanGetSingleItemDeals discountRepository)
 {
     _totaler = totaler;
     _discountRepository = discountRepository;
 }
Пример #2
0
 public Checkout(ICanTellDisplayTheTotal itemPriceTotaler, DiscountCalculator discountCalculator)
 {
     _itemPriceTotaler = itemPriceTotaler;
     _bob = discountCalculator;
 }