public CategoryNavigationPluginComponent(IHttpContextAccessor httpContextAccessor,
                                          ICatalogModelFactoryCustom catalogModelFactoryCustom,
                                          IStoreContext storeContext)
 {
     this._httpContextAccessor  = httpContextAccessor;
     _catalogModelFactoryCustom = catalogModelFactoryCustom;
     _storeContext = storeContext;
 }
コード例 #2
0
 public GBSCategoryNavigationComponent(IHttpContextAccessor httpContextAccessor,
                                       ICatalogModelFactoryCustom catalogModelFactoryCustom,
                                       IStoreContext storeContext,
                                       ISettingService settingService)
 {
     this._httpContextAccessor  = httpContextAccessor;
     _catalogModelFactoryCustom = catalogModelFactoryCustom;
     _storeContext        = storeContext;
     this._settingService = settingService;
 }
        public WidgetsCategoryNavigationController(ICatalogModelFactoryCustom catalogModelFactoryCustom,
                                                   ICategoryService categoryService,
                                                   ICatalogModelFactory catalogModelFactory,
                                                   IWorkContext workContext,
                                                   IStoreService storeService,
                                                   ISettingService settingService,
                                                   ILocalizationService localizationService,
                                                   IStoreContext storeContext)
        {
            this._categoryService           = categoryService;
            this._catalogModelFactoryCustom = catalogModelFactoryCustom;
            this._catalogModelFactory       = catalogModelFactory;

            this._workContext         = workContext;
            this._storeService        = storeService;
            this._settingService      = settingService;
            this._localizationService = localizationService;
            this._storeContext        = storeContext;
        }