コード例 #1
0
 public ManufacturersController(IPageDataContextRetriever dataRetriever,
                                IManufacturerRepository manufacturerRepository,
                                IProductRepository productRepository,
                                ICalculationService calculationService,
                                IPublicStatusRepository publicStatusRepository,
                                IOutputCacheDependencies outputCacheDependencies,
                                IPageUrlRetriever pageUrlRetriever)
 {
     this.dataRetriever           = dataRetriever;
     this.manufacturerRepository  = manufacturerRepository;
     this.productRepository       = productRepository;
     this.calculationService      = calculationService;
     this.publicStatusRepository  = publicStatusRepository;
     this.outputCacheDependencies = outputCacheDependencies;
     this.pageUrlRetriever        = pageUrlRetriever;
 }
コード例 #2
0
 public StoreController(IPageDataContextRetriever dataRetriever,
                        ICalculationService calculationService,
                        IProductRepository productRepository,
                        IPublicStatusRepository publicStatusRepository,
                        IManufacturerRepository manufacturerRepository,
                        IHotTipsRepository hotTipsRepository,
                        IPageUrlRetriever pageUrlRetriever)
 {
     this.dataRetriever          = dataRetriever;
     this.pageUrlRetriever       = pageUrlRetriever;
     this.calculationService     = calculationService;
     this.productRepository      = productRepository;
     this.publicStatusRepository = publicStatusRepository;
     this.manufacturerRepository = manufacturerRepository;
     this.hotTipsRepository      = hotTipsRepository;
 }