public SearchController( ICatalogSearchQueryFactory queryFactory, ICatalogSearchService catalogSearchService, CatalogSettings catalogSettings, MediaSettings mediaSettings, SearchSettings searchSettings, IGenericAttributeService genericAttributeService, CatalogHelper catalogHelper, ILocalizedEntityService localizedEntityService, IUrlRecordService urlRecordService, Lazy <IFacetTemplateProvider> templateProvider, Lazy <IProductService> productService, ProductUrlHelper productUrlHelper) { _queryFactory = queryFactory; _catalogSearchService = catalogSearchService; _catalogSettings = catalogSettings; _mediaSettings = mediaSettings; _searchSettings = searchSettings; _genericAttributeService = genericAttributeService; _catalogHelper = catalogHelper; _localizedEntityService = localizedEntityService; _urlRecordService = urlRecordService; _templateProvider = templateProvider; _productService = productService; _productUrlHelper = productUrlHelper; }
public SearchController( ICatalogSearchQueryFactory queryFactory, ICatalogSearchService catalogSearchService, CatalogSettings catalogSettings, MediaSettings mediaSettings, SearchSettings searchSettings, IGenericAttributeService genericAttributeService, CatalogHelper catalogHelper, Lazy <IFacetTemplateProvider> templateProvider) { _queryFactory = queryFactory; _catalogSearchService = catalogSearchService; _catalogSettings = catalogSettings; _mediaSettings = mediaSettings; _searchSettings = searchSettings; _genericAttributeService = genericAttributeService; _catalogHelper = catalogHelper; _templateProvider = templateProvider; }
public SearchBoxViewComponent(ICatalogSearchQueryFactory queryFactory, SearchSettings searchSettings) { _queryFactory = queryFactory; _searchSettings = searchSettings; }
public CatalogHelper( SmartDbContext db, ICommonServices services, IMenuService menuService, IManufacturerService manufacturerService, IProductService productService, //IProductTemplateService productTemplateService, IProductAttributeService productAttributeService, IProductAttributeMaterializer productAttributeMaterializer, IProductAttributeFormatter productAttributeFormatter, ITaxService taxService, ICurrencyService currencyService, IMediaService mediaService, IPriceCalculationService priceCalculationService, //IPriceFormatter priceFormatter, //ISpecificationAttributeService specificationAttributeService, IDateTimeHelper dateTimeHelper, //IBackInStockSubscriptionService backInStockSubscriptionService, IDownloadService downloadService, MediaSettings mediaSettings, CatalogSettings catalogSettings, CustomerSettings customerSettings, CaptchaSettings captchaSettings, IMeasureService measureService, //IQuantityUnitService quantityUnitService, MeasureSettings measureSettings, TaxSettings taxSettings, PerformanceSettings performanceSettings, IDeliveryTimeService deliveryTimeService, Lazy <IDataExporter> dataExporter, ICatalogSearchService catalogSearchService, ICatalogSearchQueryFactory catalogSearchQueryFactory, IUrlHelper urlHelper, ProductUrlHelper productUrlHelper, ILocalizedEntityService localizedEntityService, IUrlService urlService, ILinkResolver linkResolver) { _db = db; _services = services; _workContext = services.WorkContext; _storeContext = services.StoreContext; _cache = services.Cache; _menuService = menuService; _manufacturerService = manufacturerService; _productService = productService; //_productTemplateService = productTemplateService; _productAttributeService = productAttributeService; _productAttributeMaterializer = productAttributeMaterializer; _productAttributeFormatter = productAttributeFormatter; _taxService = taxService; _currencyService = currencyService; _mediaService = mediaService; _localizationService = _services.Localization; _priceCalculationService = priceCalculationService; //_priceFormatter = priceFormatter; //_specificationAttributeService = specificationAttributeService; _dateTimeHelper = dateTimeHelper; //_backInStockSubscriptionService = backInStockSubscriptionService; _downloadService = downloadService; _measureService = measureService; //_quantityUnitService = quantityUnitService; _measureSettings = measureSettings; _taxSettings = taxSettings; _performanceSettings = performanceSettings; _deliveryTimeService = deliveryTimeService; _mediaSettings = mediaSettings; _catalogSettings = catalogSettings; _customerSettings = customerSettings; _captchaSettings = captchaSettings; _dataExporter = dataExporter; _catalogSearchService = catalogSearchService; _catalogSearchQueryFactory = catalogSearchQueryFactory; _urlHelper = urlHelper; _productUrlHelper = productUrlHelper; _localizedEntityService = localizedEntityService; _urlService = urlService; _linkResolver = linkResolver; _httpRequest = _urlHelper.ActionContext.HttpContext.Request; }
public CatalogSearchQueryModelBinder(ICatalogSearchQueryFactory factory) { _factory = factory; }