Exemple #1
0
 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));
 }
Exemple #3
0
 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;
 }
 public Movie(String title, int priceCode, IPriceFactory priceFactory)
 {
     _title = title;
         _priceFactory = priceFactory;
         setPrice(priceCode);
 }