public PriceCalculatorService( IPriceCalculatorRepository priceCalculatorRepository, IPriceFactory priceFactory ) { _priceCalculatorRepository = priceCalculatorRepository; _priceFactory = priceFactory; }
public PriceRepository(IPricingServiceClient pricingServiceClient, IPriceFactory priceFactory, ILoggerFactory loggerFactory) { _pricingServiceClient = pricingServiceClient; _priceFactory = priceFactory; _log = loggerFactory.Create(typeof (PriceRepository)); }
public PriceRepository(IPricingServiceClient pricingServiceClient, IPriceFactory priceFactory, ILoggerFactory loggerFactory) { _pricingServiceClient = pricingServiceClient; _priceFactory = priceFactory; _log = loggerFactory.Create(typeof(PriceRepository)); }
public Movie(String title, int priceCode, IPriceFactory priceFactory) { _title = title; _priceFactory = priceFactory; setPrice(priceCode); }
public PriceRepository(IPricingServiceClient pricingServiceClient, IPriceFactory priceFactory) { _pricingServiceClient = pricingServiceClient; _priceFactory = priceFactory; }