/// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="manufacturerRepository">Category repository</param>
 /// <param name="productManufacturerRepository">ProductCategory repository</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 public ManufacturerDomainService(ICacheManager cacheManager,
                                  IManufacturerRepository manufacturerRepository,
                                  IProductManufacturerRepository productManufacturerRepository,
                                  IProductRepository productRepository,
                                  //IRepository<AclRecord> aclRepository,
                                  IStoreMappingRepository storeMappingRepository,
                                  //IWorkContext workContext,
                                  IStoreContext storeContext
                                  //,CatalogSettings catalogSettings
                                  // ,IEventPublisher eventPublisher
                                  , SettingDomainService settingDomainService
                                  )
 {
     this._cacheManager                  = cacheManager;
     this._manufacturerRepository        = manufacturerRepository;
     this._productManufacturerRepository = productManufacturerRepository;
     this._productRepository             = productRepository;
     //this._aclRepository = aclRepository;
     this._storeMappingRepository = storeMappingRepository;
     //this._workContext = workContext;
     this._storeContext = storeContext;
     //this._catalogSettings = catalogSettings;
     //this._eventPublisher = eventPublisher;
     _settingDomainService = settingDomainService;
 }
Beispiel #2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="categoryRepository">Category repository</param>
 /// <param name="productCategoryRepository">ProductCategory repository</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public CategoryDomainService(ICacheManager cacheManager,
                              ICategoryRepository categoryRepository,
                              IProductCategoryRepository productCategoryRepository,
                              IProductRepository productRepository,
                              //IRepository<AclRecord> aclRepository,
                              IStoreMappingRepository storeMappingRepository,
                              //IWorkContext workContext,
                              IStoreContext storeContext,
                              //IEventPublisher eventPublisher,
                              StoreMappingDomainService storeMappingService,
                              //IAclService aclService,
                              SettingDomainService settingDomainService)
 {
     this._cacheManager              = cacheManager;
     this._categoryRepository        = categoryRepository;
     this._productCategoryRepository = productCategoryRepository;
     this._productRepository         = productRepository;
     //this._aclRepository = aclRepository;
     this._storeMappingRepository = storeMappingRepository;
     //this._workContext = workContext;
     this._storeContext = storeContext;
     //this._eventPublisher = eventPublisher;
     this._storeMappingService = storeMappingService;
     //this._aclService = aclService;
     this._settingDomainService = settingDomainService;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event publisher</param>
 public StoreMappingDomainService(ICacheManager cacheManager,
                                  IStoreContext storeContext,
                                  IStoreMappingRepository storeMappingRepository,
                                  //CatalogSettings catalogSettings
                                  //,IEventPublisher eventPublisher
                                  SettingDomainService settingDomainService
                                  )
 {
     this._cacheManager           = cacheManager;
     this._storeContext           = storeContext;
     this._storeMappingRepository = storeMappingRepository;
     //this._catalogSettings = catalogSettings;
     //this._eventPublisher = eventPublisher;
     _settingDomainService = settingDomainService;
 }
Beispiel #4
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="countryRepository">Country repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 public CountryDomainService(ICacheManager cacheManager,
                             ICountryRepository countryRepository,
                             IStoreMappingRepository storeMappingRepository,
                             IStoreContext storeContext,
                             SettingDomainService settingDomainService
                             //,IEventPublisher eventPublisher
                             )
 {
     this._cacheManager           = cacheManager;
     this._countryRepository      = countryRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._storeContext           = storeContext;
     //this._catalogSettings = catalogSettings;
     _settingDomainService = settingDomainService;
     //this._eventPublisher = eventPublisher;
 }