public BillManager(IPromotionFactory factory, IDiscountFactory discount) { _PromotionFactory = factory; _DiscountFactory = discount; }
public DiscountService(IRuleService ruleService, IDiscountFactory discountFactory) { this.ruleService = ruleService; this.discountFactory = discountFactory; }
public PricingService(IDataService dataService, IDiscountFactory discountFactory) { _dataService = dataService; _discountFactory = discountFactory; }
public DiscountFactoryTests(DiscountFactoryFixture fixture) { _discountFactory = fixture.DiscountFactory; }
public DiscountFactoryFixture() { DiscountFactory = new DiscountFactory(DataService); }
public ShoppingCartService(IShoppingCartRepo shoppingCartRepo, IDiscountFactory discountFactory) { _shoppingCartRepo = shoppingCartRepo; _discountFactory = discountFactory; }