public CatalogService(IWorkContextAccessor workContextAccessor
                       , ICatalogModuleCategories categoriesApi
                       , ICatalogModuleProducts productsApi
                       , ICatalogModuleSearch searchApi
                       , IPricingService pricingService
                       , IMemberService customerService
                       , ISubscriptionService subscriptionService
                       , IInventoryService inventoryService
                       , IStorefrontMemoryCache memoryCache
                       , IApiChangesWatcher changesWatcher
                       , IStorefrontUrlBuilder storefrontUrlBuilder)
 {
     _workContextAccessor  = workContextAccessor;
     _categoriesApi        = categoriesApi;
     _productsApi          = productsApi;
     _searchApi            = searchApi;
     _categoriesApi        = categoriesApi;
     _pricingService       = pricingService;
     _inventoryService     = inventoryService;
     _customerService      = customerService;
     _subscriptionService  = subscriptionService;
     _memoryCache          = memoryCache;
     _apiChangesWatcher    = changesWatcher;
     _storefrontUrlBuilder = storefrontUrlBuilder;
 }
示例#2
0
 public ProductFetcher(ICatalogModuleSearch catalogModuleSearch, IPricingModule pricingModule)
 {
     _catalogModuleSearch = catalogModuleSearch;
     _pricingModule       = pricingModule;
 }