public LuceneService(
     INopFileProvider fileProvider,
     IProductTagService productTagService,
     IRepository <ProductProductTagMapping> productProductTagMappingRepository,
     IProductService productService,
     IStoreContext storeContext,
     ICategoryService categoryService,
     IRepository <ProductCategory> productCategoryMappingRepository,
     IManufacturerService manufacturerService,
     IRepository <ProductManufacturer> productManufacturersMappingRepository,
     ILogger logger,
     IRepository <ProductTag> productTagRepository,
     IRepository <Category> categoryRepository,
     IRepository <Manufacturer> manufacturerRepository)
 {
     _fileProvider      = fileProvider;
     _productTagService = productTagService;
     _productProductTagMappingRepository = productProductTagMappingRepository;
     _productService  = productService;
     _storeContext    = storeContext;
     _categoryService = categoryService;
     _productCategoryMappingRepository = productCategoryMappingRepository;
     _manufacturerService = manufacturerService;
     _productManufacturersMappingRepository = productManufacturersMappingRepository;
     _logger = logger;
     _productTagRepository   = productTagRepository;
     _categoryRepository     = categoryRepository;
     _manufacturerRepository = manufacturerRepository;
 }
Exemple #2
0
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     IWorkContext workContext, ILanguageService languageService, 
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
     ITaxCategoryService taxCategoryService, IProductTagService productTagService,
     ICopyProductService copyProductService, IPdfService pdfService,
     IExportManager exportManager, IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, AdminAreaSettings adminAreaSettings)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
 }
Exemple #3
0
 public DTOHelper(IProductService productService,
                  IAclService aclService,
                  IStoreMappingService storeMappingService,
                  IPictureService pictureService,
                  IProductAttributeService productAttributeService,
                  ICustomerApiService customerApiService,
                  IProductAttributeConverter productAttributeConverter,
                  ILanguageService languageService,
                  ICurrencyService currencyService,
                  CurrencySettings currencySettings,
                  IStoreService storeService,
                  ILocalizationService localizationService,
                  IUrlRecordService urlRecordService,
                  IProductTagService productTagService)
 {
     _productService            = productService;
     _aclService                = aclService;
     _storeMappingService       = storeMappingService;
     _pictureService            = pictureService;
     _productAttributeService   = productAttributeService;
     _customerApiService        = customerApiService;
     _productAttributeConverter = productAttributeConverter;
     _languageService           = languageService;
     _currencyService           = currencyService;
     _currencySettings          = currencySettings;
     _storeService              = storeService;
     _localizationService       = localizationService;
     _urlRecordService          = urlRecordService;
     _productTagService         = productTagService;
 }
 public ProductsController(IProductApiService productApiService,
                           IJsonFieldsSerializer jsonFieldsSerializer,
                           IProductService productService,
                           IUrlRecordService urlRecordService,
                           ICustomerActivityService customerActivityService,
                           ILocalizationService localizationService,
                           IFactory <Product> factory,
                           IAclService aclService,
                           IStoreMappingService storeMappingService,
                           IStoreService storeService,
                           ICustomerService customerService,
                           IDiscountService discountService,
                           IPictureService pictureService,
                           IManufacturerService manufacturerService,
                           IProductTagService productTagService,
                           IProductAttributeService productAttributeService,
                           IDTOHelper dtoHelper) : base(jsonFieldsSerializer, aclService, customerService, storeMappingService, storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _productApiService       = productApiService;
     _factory                 = factory;
     _manufacturerService     = manufacturerService;
     _productTagService       = productTagService;
     _urlRecordService        = urlRecordService;
     _productService          = productService;
     _productAttributeService = productAttributeService;
     _dtoHelper               = dtoHelper;
 }
Exemple #5
0
 public CopyProductService(ICategoryService categoryService,
                           IDownloadService downloadService,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           IManufacturerService manufacturerService,
                           IPictureService pictureService,
                           IProductAttributeParser productAttributeParser,
                           IProductAttributeService productAttributeService,
                           IProductService productService,
                           IProductTagService productTagService,
                           ISpecificationAttributeService specificationAttributeService,
                           IStoreMappingService storeMappingService,
                           IUrlRecordService urlRecordService)
 {
     _categoryService               = categoryService;
     _downloadService               = downloadService;
     _languageService               = languageService;
     _localizationService           = localizationService;
     _localizedEntityService        = localizedEntityService;
     _manufacturerService           = manufacturerService;
     _pictureService                = pictureService;
     _productAttributeParser        = productAttributeParser;
     _productAttributeService       = productAttributeService;
     _productService                = productService;
     _productTagService             = productTagService;
     _specificationAttributeService = specificationAttributeService;
     _storeMappingService           = storeMappingService;
     _urlRecordService              = urlRecordService;
 }
Exemple #6
0
 public ProductsController(IProductApiService productApiService,
                           CatalogSettings catalogSettings,
                           IOrderReportService orderReportService,
                           IStoreContext storeContext,
                           IJsonFieldsSerializer jsonFieldsSerializer,
                           IProductService productService,
                           IUrlRecordService urlRecordService,
                           ICustomerActivityService customerActivityService,
                           ILocalizationService localizationService,
                           IFactory <Product> factory,
                           IAclService aclService,
                           IStoreMappingService storeMappingService,
                           IStoreService storeService,
                           ICustomerService customerService,
                           IDiscountService discountService,
                           IPictureService pictureService,
                           IManufacturerService manufacturerService,
                           IProductTagService productTagService,
                           IProductAttributeService productAttributeService,
                           ILogger logger,
                           IDTOHelper dtoHelper) : base(jsonFieldsSerializer, aclService, customerService, storeMappingService, storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _productApiService       = productApiService;
     _factory                 = factory;
     _catalogSettings         = catalogSettings;
     _storeContext            = storeContext;
     _orderReportService      = orderReportService;
     _manufacturerService     = manufacturerService;
     _productTagService       = productTagService;
     _urlRecordService        = urlRecordService;
     _productService          = productService;
     _productAttributeService = productAttributeService;
     _logger    = logger;
     _dtoHelper = dtoHelper;
 }
 public SitemapGenerator(BlogSettings blogSettings,
                         CommonSettings commonSettings,
                         ForumSettings forumSettings,
                         IActionContextAccessor actionContextAccessor,
                         ICategoryService categoryService,
                         IManufacturerService manufacturerService,
                         IProductService productService,
                         IProductTagService productTagService,
                         IStoreContext storeContext,
                         ITopicService topicService,
                         IUrlHelperFactory urlHelperFactory,
                         IUrlRecordService urlRecordService,
                         IWebHelper webHelper,
                         NewsSettings newsSettings,
                         SecuritySettings securitySettings)
 {
     this._blogSettings          = blogSettings;
     this._commonSettings        = commonSettings;
     this._forumSettings         = forumSettings;
     this._actionContextAccessor = actionContextAccessor;
     this._categoryService       = categoryService;
     this._manufacturerService   = manufacturerService;
     this._productService        = productService;
     this._productTagService     = productTagService;
     this._storeContext          = storeContext;
     this._topicService          = topicService;
     this._urlHelperFactory      = urlHelperFactory;
     this._urlRecordService      = urlRecordService;
     this._webHelper             = webHelper;
     this._newsSettings          = newsSettings;
     this._securitySettings      = securitySettings;
 }
 public ProductTagsController(IProductTagService productTagService, IProductService productService, ILanguageService languageService, SeoSettings seoSettings)
 {
     this._productTagService = productTagService;
     this._productService    = productService;
     this._languageService   = languageService;
     this._seoSettings       = seoSettings;
 }
Exemple #9
0
 public CatalogController(ICatalogModelFactory catalogModelFactory,
                          IProductModelFactory productModelFactory,
                          ICategoryService categoryService,
                          IProductService productService,
                          IWorkContext workContext,
                          IStoreContext storeContext,
                          ILocalizationService localizationService,
                          IWebHelper webHelper,
                          IProductTagService productTagService,
                          IGenericAttributeService genericAttributeService,
                          IAclService aclService,
                          IStoreMappingService storeMappingService,
                          IPermissionService permissionService,
                          ICustomerActivityService customerActivityService,
                          MediaSettings mediaSettings,
                          CatalogSettings catalogSettings)
 {
     this._catalogModelFactory     = catalogModelFactory;
     this._productModelFactory     = productModelFactory;
     this._categoryService         = categoryService;
     this._productService          = productService;
     this._workContext             = workContext;
     this._storeContext            = storeContext;
     this._localizationService     = localizationService;
     this._webHelper               = webHelper;
     this._productTagService       = productTagService;
     this._genericAttributeService = genericAttributeService;
     this._aclService              = aclService;
     this._storeMappingService     = storeMappingService;
     this._permissionService       = permissionService;
     this._customerActivityService = customerActivityService;
     this._mediaSettings           = mediaSettings;
     this._catalogSettings         = catalogSettings;
 }
 public ProductController(
     SmartDbContext db,
     IProductService productService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IProductCompareService productCompareService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb)
 {
     _db                            = db;
     _productService                = productService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _productCompareService         = productCompareService;
     _aclService                    = aclService;
     _storeMappingService           = storeMappingService;
     _catalogSearchService          = catalogSearchService;
     _mediaSettings                 = mediaSettings;
     _catalogSettings               = catalogSettings;
     _helper                        = helper;
     _breadcrumb                    = breadcrumb;
 }
 public CatalogController(
     SmartDbContext db,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IProductCompareService productCompareService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb,
     SeoSettings seoSettings,
     Lazy <IUrlHelper> urlHelper)
 {
     _db = db;
     _categoryService               = categoryService;
     _manufacturerService           = manufacturerService;
     _productService                = productService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _productCompareService         = productCompareService;
     _aclService           = aclService;
     _storeMappingService  = storeMappingService;
     _catalogSearchService = catalogSearchService;
     _mediaSettings        = mediaSettings;
     _catalogSettings      = catalogSettings;
     _helper      = helper;
     _breadcrumb  = breadcrumb;
     _seoSettings = seoSettings;
     _urlHelper   = urlHelper;
 }
 public ProductController(
     ICommonServices services,
     IProductService productService,
     IProductAttributeService productAttributeService,
     ITaxService taxService,
     IMediaService mediaService,
     ICustomerContentService customerContentService,
     ICustomerService customerService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IProductTagService productTagService,
     IOrderReportService orderReportService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     MediaSettings mediaSettings,
     SeoSettings seoSettings,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CaptchaSettings captchaSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb,
     Lazy <PrivacySettings> privacySettings,
     Lazy <TaxSettings> taxSettings,
     ILocalizationService localizationService,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     ProductUrlHelper productUrlHelper,
     IProductAttributeFormatter productAttributeFormatter)
 {
     _services                       = services;
     _productService                 = productService;
     _productAttributeService        = productAttributeService;
     _taxService                     = taxService;
     _mediaService                   = mediaService;
     _customerContentService         = customerContentService;
     _customerService                = customerService;
     _recentlyViewedProductsService  = recentlyViewedProductsService;
     _productTagService              = productTagService;
     _orderReportService             = orderReportService;
     _backInStockSubscriptionService = backInStockSubscriptionService;
     _aclService                     = aclService;
     _storeMappingService            = storeMappingService;
     _mediaSettings                  = mediaSettings;
     _seoSettings                    = seoSettings;
     _catalogSettings                = catalogSettings;
     _shoppingCartSettings           = shoppingCartSettings;
     _localizationSettings           = localizationSettings;
     _captchaSettings                = captchaSettings;
     _helper                    = helper;
     _breadcrumb                = breadcrumb;
     _privacySettings           = privacySettings;
     _taxSettings               = taxSettings;
     _localizationService       = localizationService;
     _downloadService           = downloadService;
     _productAttributeParser    = productAttributeParser;
     _productUrlHelper          = productUrlHelper;
     _productAttributeFormatter = productAttributeFormatter;
 }
        public ProductController(
			ICommonServices services,
			IManufacturerService manufacturerService,
			IProductService productService,
			IProductAttributeService productAttributeService,
			IProductAttributeParser productAttributeParser,
			ITaxService taxService,
			ICurrencyService currencyService,
			IPictureService pictureService,
			IPriceCalculationService priceCalculationService, 
			IPriceFormatter priceFormatter,
			ICustomerContentService customerContentService, 
			ICustomerService customerService,
			IShoppingCartService shoppingCartService,
			IRecentlyViewedProductsService recentlyViewedProductsService, 
			IWorkflowMessageService workflowMessageService, 
			IProductTagService productTagService,
			IOrderReportService orderReportService,
			IBackInStockSubscriptionService backInStockSubscriptionService, 
			IAclService aclService,
			IStoreMappingService storeMappingService,
			MediaSettings mediaSettings, 
			CatalogSettings catalogSettings,
			ShoppingCartSettings shoppingCartSettings,
			LocalizationSettings localizationSettings, 
			CaptchaSettings captchaSettings,
			CatalogHelper helper,
            IDownloadService downloadService,
            ILocalizationService localizationService)
        {
            this._services = services;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._customerContentService = customerContentService;
            this._customerService = customerService;
            this._shoppingCartService = shoppingCartService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._workflowMessageService = workflowMessageService;
            this._productTagService = productTagService;
            this._orderReportService = orderReportService;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._aclService = aclService;
            this._storeMappingService = storeMappingService;
            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;
            this._helper = helper;
            this._downloadService = downloadService;
            this._localizationService = localizationService;
        }
        public ProductController(
            ICommonServices services,
            IManufacturerService manufacturerService,
            IProductService productService,
            IProductAttributeService productAttributeService,
            IProductAttributeParser productAttributeParser,
            ITaxService taxService,
            ICurrencyService currencyService,
            IPictureService pictureService,
            IPriceCalculationService priceCalculationService,
            IPriceFormatter priceFormatter,
            ICustomerContentService customerContentService,
            ICustomerService customerService,
            IShoppingCartService shoppingCartService,
            IRecentlyViewedProductsService recentlyViewedProductsService,
            IWorkflowMessageService workflowMessageService,
            IProductTagService productTagService,
            IOrderReportService orderReportService,
            IBackInStockSubscriptionService backInStockSubscriptionService,
            IAclService aclService,
            IStoreMappingService storeMappingService,
            MediaSettings mediaSettings,
            CatalogSettings catalogSettings,
            ShoppingCartSettings shoppingCartSettings,
            LocalizationSettings localizationSettings,
            CaptchaSettings captchaSettings,
            CatalogHelper helper)
        {
            this._services                       = services;
            this._manufacturerService            = manufacturerService;
            this._productService                 = productService;
            this._productAttributeService        = productAttributeService;
            this._productAttributeParser         = productAttributeParser;
            this._taxService                     = taxService;
            this._currencyService                = currencyService;
            this._pictureService                 = pictureService;
            this._priceCalculationService        = priceCalculationService;
            this._priceFormatter                 = priceFormatter;
            this._customerContentService         = customerContentService;
            this._customerService                = customerService;
            this._shoppingCartService            = shoppingCartService;
            this._recentlyViewedProductsService  = recentlyViewedProductsService;
            this._workflowMessageService         = workflowMessageService;
            this._productTagService              = productTagService;
            this._orderReportService             = orderReportService;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._aclService                     = aclService;
            this._storeMappingService            = storeMappingService;
            this._mediaSettings                  = mediaSettings;
            this._catalogSettings                = catalogSettings;
            this._shoppingCartSettings           = shoppingCartSettings;
            this._localizationSettings           = localizationSettings;
            this._captchaSettings                = captchaSettings;
            this._helper = helper;

            T = NullLocalizer.Instance;
        }
Exemple #15
0
 public GetPopularProductTagsHandler(
     ICacheManager cacheManager,
     IProductTagService productTagService,
     CatalogSettings catalogSettings)
 {
     _cacheManager      = cacheManager;
     _productTagService = productTagService;
     _catalogSettings   = catalogSettings;
 }
 public GetPopularProductTagsHandler(
     ICacheBase cacheBase,
     IProductTagService productTagService,
     CatalogSettings catalogSettings)
 {
     _cacheBase         = cacheBase;
     _productTagService = productTagService;
     _catalogSettings   = catalogSettings;
 }
Exemple #17
0
 public EfProductService(AppDbContext context, IProductGalleryService productGalleryService,
                         IProductTagService productTagService, IProductAttributeService productAttributeService,
                         IAttributeGrpService attributeGrpService) : base(context)
 {
     _productGalleryService   = productGalleryService;
     _productTagService       = productTagService;
     _productAttributeService = productAttributeService;
     _attributeGrpService     = attributeGrpService;
 }
Exemple #18
0
 public DTOHelper(IProductService productService,
                  IAclService aclService,
                  IStoreMappingService storeMappingService,
                  IPictureService pictureService,
                  IProductAttributeService productAttributeService,
                  ICustomerApiService customerApiService,
                  ICustomerService customerService,
                  IProductAttributeConverter productAttributeConverter,
                  ILanguageService languageService,
                  ICurrencyService currencyService,
                  IDiscountService discountService,
                  IManufacturerService manufacturerService,
                  CurrencySettings currencySettings,
                  IStoreService storeService,
                  ILocalizationService localizationService,
                  IUrlRecordService urlRecordService,
                  IProductTagService productTagService,
                  ITaxCategoryService taxCategoryService,
                  ISettingService settingService,
                  IShipmentService shipmentService,
                  IOrderService orderService,
                  IAddressService addressService,
                  ISpecificationAttributeService specificationAttributeService,
                  IGenericAttributeService genericAttributeService,
                  MediaSettings mediaSettings,
                  CustomerSettings customerSettings,
                  IReviewTypeService reviewTypeService)
 {
     _specificationAttributeService = specificationAttributeService;
     _productService            = productService;
     _aclService                = aclService;
     _storeMappingService       = storeMappingService;
     _pictureService            = pictureService;
     _productAttributeService   = productAttributeService;
     _customerApiService        = customerApiService;
     _customerService           = customerService;
     _productAttributeConverter = productAttributeConverter;
     _languageService           = languageService;
     _currencyService           = currencyService;
     _currencySettings          = currencySettings;
     _storeService              = storeService;
     _localizationService       = localizationService;
     _urlRecordService          = urlRecordService;
     _productTagService         = productTagService;
     _taxCategoryService        = taxCategoryService;
     _settingService            = settingService;
     _discountService           = discountService;
     _manufacturerService       = manufacturerService;
     _orderService              = orderService;
     _shipmentService           = shipmentService;
     _addressService            = addressService;
     _genericAttributeService   = genericAttributeService;
     _mediaSettings             = mediaSettings;
     _customerSettings          = customerSettings;
     _reviewTypeService         = reviewTypeService;
 }
 public SelectSellController(IProductService productService,
     IProductTemplateService productTemplateService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWorkContext workContext,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService,
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService,
     IProductTagService productTagService,
     ICopyProductService copyProductService,
     IPdfService pdfService,
     IExportManager exportManager,
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService,
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
     IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     IStoreContext storeContext,
     IRepository<StoreMapping> storeMapping)
 {
     _workContext = workContext;
     _productService = productService;
     _pictureService = pictureService;
     _localizationService = localizationService;
     _categoryService = categoryService;
     _manufacturerService = manufacturerService;
     _storeService = storeService;
     _shippingService = shippingService;
     _vendorService = vendorService;
     _storeMappingService = storeMappingService;
     _storeContext = storeContext;
     _storeMapping = storeMapping;
 }
Exemple #20
0
 public SelectSellController(IProductService productService,
                             IProductTemplateService productTemplateService,
                             ICategoryService categoryService,
                             IManufacturerService manufacturerService,
                             ICustomerService customerService,
                             IUrlRecordService urlRecordService,
                             IWorkContext workContext,
                             ILanguageService languageService,
                             ILocalizationService localizationService,
                             ILocalizedEntityService localizedEntityService,
                             ISpecificationAttributeService specificationAttributeService,
                             IPictureService pictureService,
                             ITaxCategoryService taxCategoryService,
                             IProductTagService productTagService,
                             ICopyProductService copyProductService,
                             IPdfService pdfService,
                             IExportManager exportManager,
                             IImportManager importManager,
                             ICustomerActivityService customerActivityService,
                             IPermissionService permissionService,
                             IAclService aclService,
                             IStoreService storeService,
                             IOrderService orderService,
                             IStoreMappingService storeMappingService,
                             IVendorService vendorService,
                             IShippingService shippingService,
                             IShipmentService shipmentService,
                             ICurrencyService currencyService,
                             CurrencySettings currencySettings,
                             IMeasureService measureService,
                             MeasureSettings measureSettings,
                             AdminAreaSettings adminAreaSettings,
                             IDateTimeHelper dateTimeHelper,
                             IDiscountService discountService,
                             IProductAttributeService productAttributeService,
                             IBackInStockSubscriptionService backInStockSubscriptionService,
                             IShoppingCartService shoppingCartService,
                             IProductAttributeFormatter productAttributeFormatter,
                             IProductAttributeParser productAttributeParser,
                             IDownloadService downloadService,
                             IStoreContext storeContext,
                             IRepository <StoreMapping> storeMapping)
 {
     _workContext         = workContext;
     _productService      = productService;
     _pictureService      = pictureService;
     _localizationService = localizationService;
     _categoryService     = categoryService;
     _manufacturerService = manufacturerService;
     _storeService        = storeService;
     _shippingService     = shippingService;
     _vendorService       = vendorService;
     _storeMappingService = storeMappingService;
     _storeContext        = storeContext;
     _storeMapping        = storeMapping;
 }
        public PaymentController(IProductTagService productTagservice, IPaymentRuleService paymentRuleService, ICacheProvider cacheProvider, IPathMapper pathMapper)
        {
            _ProductTagservice  = productTagservice;
            _PaymentRuleService = paymentRuleService;
            _CacheProvider      = cacheProvider;
            _PathMapper         = pathMapper;

            // Temp
            LoadTemperoryRuleEngine(cacheProvider);
        }
 public ProductController(
     SmartDbContext db,
     IWebHelper webHelper,
     IProductService productService,
     IProductTagService productTagService,
     IProductAttributeService productAttributeService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IProductCompareService productCompareService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     IMediaService mediaService,
     ICustomerService customerService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb,
     SeoSettings seoSettings,
     ContactDataSettings contactDataSettings,
     CaptchaSettings captchaSettings,
     LocalizationSettings localizationSettings,
     PrivacySettings privacySettings,
     Lazy <IUrlHelper> urlHelper,
     Lazy <IMessageFactory> messageFactory,
     Lazy <ProductUrlHelper> productUrlHelper,
     Lazy <IProductAttributeFormatter> productAttributeFormatter,
     Lazy <IProductAttributeMaterializer> productAttributeMaterializer)
 {
     _db                            = db;
     _webHelper                     = webHelper;
     _productService                = productService;
     _productTagService             = productTagService;
     _productAttributeService       = productAttributeService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _productCompareService         = productCompareService;
     _aclService                    = aclService;
     _storeMappingService           = storeMappingService;
     _catalogSearchService          = catalogSearchService;
     _mediaService                  = mediaService;
     _customerService               = customerService;
     _mediaSettings                 = mediaSettings;
     _catalogSettings               = catalogSettings;
     _helper                        = helper;
     _breadcrumb                    = breadcrumb;
     _seoSettings                   = seoSettings;
     _contactDataSettings           = contactDataSettings;
     _captchaSettings               = captchaSettings;
     _localizationSettings          = localizationSettings;
     _privacySettings               = privacySettings;
     _urlHelper                     = urlHelper;
     _messageFactory                = messageFactory;
     _productUrlHelper              = productUrlHelper;
     _productAttributeFormatter     = productAttributeFormatter;
     _productAttributeMaterializer  = productAttributeMaterializer;
 }
Exemple #23
0
 public AbcProductModelFactory(
     CaptchaSettings captchaSettings,
     CatalogSettings catalogSettings,
     CustomerSettings customerSettings,
     ICategoryService categoryService,
     ICurrencyService currencyService,
     ICustomerService customerService,
     IDateRangeService dateRangeService,
     IDateTimeHelper dateTimeHelper,
     IDownloadService downloadService,
     IGenericAttributeService genericAttributeService,
     ILocalizationService localizationService,
     IManufacturerService manufacturerService,
     IPermissionService permissionService,
     IPictureService pictureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IProductAttributeParser productAttributeParser,
     IProductAttributeService productAttributeService,
     IProductService productService,
     IProductTagService productTagService,
     IProductTemplateService productTemplateService,
     IReviewTypeService reviewTypeService,
     ISpecificationAttributeService specificationAttributeService,
     IStaticCacheManager staticCacheManager,
     IStoreContext storeContext,
     IShoppingCartModelFactory shoppingCartModelFactory,
     ITaxService taxService,
     IUrlRecordService urlRecordService,
     IVendorService vendorService,
     IWebHelper webHelper,
     IWorkContext workContext,
     MediaSettings mediaSettings,
     OrderSettings orderSettings,
     SeoSettings seoSettings,
     ShippingSettings shippingSettings,
     VendorSettings vendorSettings,
     IAbcMattressListingPriceService abcMattressListingPriceService)
     : base(captchaSettings, catalogSettings, customerSettings,
            categoryService, currencyService, customerService, dateRangeService,
            dateTimeHelper, downloadService, genericAttributeService, localizationService,
            manufacturerService, permissionService, pictureService, priceCalculationService,
            priceFormatter, productAttributeParser, productAttributeService, productService,
            productTagService, productTemplateService, reviewTypeService, specificationAttributeService,
            staticCacheManager, storeContext, shoppingCartModelFactory, taxService, urlRecordService,
            vendorService, webHelper, workContext, mediaSettings, orderSettings, seoSettings,
            shippingSettings, vendorSettings
            )
 {
     _webHelper = webHelper;
     _abcMattressListingPriceService = abcMattressListingPriceService;
     _priceFormatter = priceFormatter;
 }
Exemple #24
0
 public ProductService(IApplicationContext applicationContext,
                       IProductTagService productTagService,
                       IProductCategoryTagService productCategoryTagService,
                       IProductImageService productImageService,
                       ILocalize localize,
                       CMSDbContext dbContext) : base(applicationContext, dbContext)
 {
     _productTagService         = productTagService;
     _productCategoryTagService = productCategoryTagService;
     _productImageService       = productImageService;
     _localize = localize;
 }
Exemple #25
0
 public ProductTagsController(
     IProductTagService productTagService,
     IProductService productService,
     ILanguageService languageService,
     ITranslationService translationService,
     SeoSettings seoSettings)
 {
     _productTagService  = productTagService;
     _productService     = productService;
     _languageService    = languageService;
     _translationService = translationService;
     _seoSettings        = seoSettings;
 }
 public CatalogController(ICatalogWebService catalogWebService,
                          ICategoryService categoryService,
                          IProductWebService productWebService,
                          IManufacturerService manufacturerService,
                          IProductService productService,
                          IVendorService vendorService,
                          IWorkContext workContext,
                          IStoreContext storeContext,
                          ILocalizationService localizationService,
                          IWebHelper webHelper,
                          IProductTagService productTagService,
                          IGenericAttributeService genericAttributeService,
                          IAclService aclService,
                          IStoreMappingService storeMappingService,
                          IPermissionService permissionService,
                          ICustomerActivityService customerActivityService,
                          ICustomerActionEventService customerActionEventService,
                          IVendorWebService vendorWebService,
                          CaptchaSettings captchaSettings,
                          MediaSettings mediaSettings,
                          CatalogSettings catalogSettings,
                          VendorSettings vendorSettings,
                          ICacheManager cacheManager,
                          IEventPublisher eventPublisher,
                          IOrderService orderService)
 {
     this._catalogWebService          = catalogWebService;
     this._categoryService            = categoryService;
     this._productWebService          = productWebService;
     this._manufacturerService        = manufacturerService;
     this._productService             = productService;
     this._vendorService              = vendorService;
     this._workContext                = workContext;
     this._storeContext               = storeContext;
     this._localizationService        = localizationService;
     this._webHelper                  = webHelper;
     this._productTagService          = productTagService;
     this._genericAttributeService    = genericAttributeService;
     this._aclService                 = aclService;
     this._storeMappingService        = storeMappingService;
     this._permissionService          = permissionService;
     this._customerActivityService    = customerActivityService;
     this._customerActionEventService = customerActionEventService;
     this._vendorWebService           = vendorWebService;
     this._captchaSettings            = captchaSettings;
     this._mediaSettings              = mediaSettings;
     this._catalogSettings            = catalogSettings;
     this._vendorSettings             = vendorSettings;
     this._eventPublisher             = eventPublisher;
     this._orderService               = orderService;
 }
Exemple #27
0
 public CatalogController(
     ICommonServices services,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     ICategoryTemplateService categoryTemplateService,
     IManufacturerTemplateService manufacturerTemplateService,
     ICurrencyService currencyService,
     IOrderReportService orderReportService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IPictureService pictureService,
     IPriceFormatter priceFormatter,
     ISpecificationAttributeService specificationAttributeService,
     ICompareProductsService compareProductsService,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     Lazy <ILanguageService> languageService,
     CatalogHelper helper,
     IBreadcrumb breadcrumb,
     IPromotionProductsService promotionService)
 {
     _services                      = services;
     _categoryService               = categoryService;
     _manufacturerService           = manufacturerService;
     _productService                = productService;
     _categoryTemplateService       = categoryTemplateService;
     _manufacturerTemplateService   = manufacturerTemplateService;
     _currencyService               = currencyService;
     _orderReportService            = orderReportService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _compareProductsService        = compareProductsService;
     _pictureService                = pictureService;
     _priceFormatter                = priceFormatter;
     _specificationAttributeService = specificationAttributeService;
     _genericAttributeService       = genericAttributeService;
     _aclService                    = aclService;
     _storeMappingService           = storeMappingService;
     _catalogSearchService          = catalogSearchService;
     _mediaSettings                 = mediaSettings;
     _catalogSettings               = catalogSettings;
     _languageService               = languageService;
     _helper                = helper;
     _breadcrumb            = breadcrumb;
     this._promotionService = promotionService;
 }
Exemple #28
0
        public CustomProductController(
            IAclService aclService,
            IBackInStockSubscriptionService backInStockSubscriptionService,
            ICategoryService categoryService,
            ICopyProductService copyProductService,
            ICustomerActivityService customerActivityService,
            ICustomerService customerService,
            IDiscountService discountService,
            IDownloadService downloadService,
            IExportManager exportManager,
            IImportManager importManager,
            ILanguageService languageService,
            ILocalizationService localizationService,
            ILocalizedEntityService localizedEntityService,
            IManufacturerService manufacturerService,
            INopFileProvider fileProvider,
            INotificationService notificationService,
            IPdfService pdfService,
            IPermissionService permissionService,
            IPictureService pictureService,
            IProductAttributeParser productAttributeParser,
            IProductAttributeService productAttributeService,
            IProductAttributeFormatter productAttributeFormatter,
            IProductModelFactory productModelFactory,
            IProductService productService,
            IProductTagService productTagService,
            ISettingService settingService,
            IShippingService shippingService,
            IShoppingCartService shoppingCartService,
            ISpecificationAttributeService specificationAttributeService,
            IStoreContext storeContext,
            IUrlRecordService urlRecordService,
            IGenericAttributeService genericAttributeService,
            IWorkContext workContext,
            VendorSettings vendorSettings

            ) : base(aclService, backInStockSubscriptionService, categoryService,
                     copyProductService, customerActivityService, customerService,
                     discountService, downloadService, exportManager, importManager,
                     languageService, localizationService, localizedEntityService,
                     manufacturerService, fileProvider, notificationService,
                     pdfService, permissionService, pictureService, productAttributeParser,
                     productAttributeService, productAttributeFormatter, productModelFactory,
                     productService, productTagService, settingService, shippingService,
                     shoppingCartService, specificationAttributeService, storeContext,
                     urlRecordService, genericAttributeService, workContext, vendorSettings)
        {
            _genericAttributeService = genericAttributeService;
            _productService          = productService;
        }
Exemple #29
0
 public ProductsController(IProductService productService, IShopCategoryService shopCategoryService, ITagService tagService, IBrandService brandService, IProductShopCategoryService productShopCategoryService, IProductTagService productTagService, IProductMediaService productMediaService, IProductAttributeService productAttributeService, IFeatureService featureService, IFeatureAttributeService featureAttributeService, IShopCategoryFeatureService shopCategoryFeatureService)
 {
     _productService             = productService ?? throw new ArgumentNullException(nameof(productService));
     _shopCategoryService        = shopCategoryService ?? throw new ArgumentNullException(nameof(shopCategoryService));
     _tagService                 = tagService ?? throw new ArgumentNullException(nameof(tagService));
     _brandService               = brandService ?? throw new ArgumentNullException(nameof(brandService));
     _productShopCategoryService = productShopCategoryService ?? throw new ArgumentNullException(nameof(productShopCategoryService));
     _productTagService          = productTagService ?? throw new ArgumentNullException(nameof(productTagService));
     _productMediaService        = productMediaService ?? throw new ArgumentNullException(nameof(productMediaService));
     _productAttributeService    = productAttributeService ?? throw new ArgumentNullException(nameof(productAttributeService));
     _featureService             = featureService ?? throw new ArgumentNullException(nameof(featureService));
     _featureAttributeService    = featureAttributeService ?? throw new ArgumentNullException(nameof(featureAttributeService));
     _shopCategoryFeatureService = shopCategoryFeatureService ?? throw new ArgumentNullException(nameof(shopCategoryFeatureService));
 }
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService, IWorkContext workContext, ILanguageService languageService,
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
     ITaxCategoryService taxCategoryService, IProductTagService productTagService,
     ICopyProductService copyProductService, IPdfService pdfService,
     IExportManager exportManager, IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, IAclService aclService,
     IStoreService storeService, IStoreMappingService storeMappingService,
     IVendorService vendorService,
     ICurrencyService currencyService, CurrencySettings currencySettings,
     IMeasureService measureService, MeasureSettings measureSettings,
     PdfSettings pdfSettings, AdminAreaSettings adminAreaSettings)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._vendorService = vendorService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._pdfSettings = pdfSettings;
     this._adminAreaSettings = adminAreaSettings;
 }
        public CatalogController(
			ICommonServices services,
			ICategoryService categoryService,
            IManufacturerService manufacturerService, 
			IProductService productService,
            ICategoryTemplateService categoryTemplateService,
            IManufacturerTemplateService manufacturerTemplateService,
			ICurrencyService currencyService,
			IOrderReportService orderReportService,
			IProductTagService productTagService,
			IRecentlyViewedProductsService recentlyViewedProductsService,
            IPictureService pictureService,
            IPriceFormatter priceFormatter,
            ISpecificationAttributeService specificationAttributeService,
			ICompareProductsService compareProductsService,
			IGenericAttributeService genericAttributeService,
			IAclService aclService,
			IStoreMappingService storeMappingService,
            MediaSettings mediaSettings, 
			CatalogSettings catalogSettings,
			IFilterService filterService,
 			CatalogHelper helper)
        {
            this._services = services;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._categoryTemplateService = categoryTemplateService;
            this._manufacturerTemplateService = manufacturerTemplateService;
            this._currencyService = currencyService;
            this._orderReportService = orderReportService;
            this._productTagService = productTagService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._compareProductsService = compareProductsService;
            this._pictureService = pictureService;
            this._priceFormatter = priceFormatter;
            this._specificationAttributeService = specificationAttributeService;
            this._genericAttributeService = genericAttributeService;
            this._aclService = aclService;
            this._storeMappingService = storeMappingService;
            this._filterService = filterService;
            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;

            this._helper = helper;

            T = NullLocalizer.Instance;
        }
 public ProductModelFactory(CaptchaSettings captchaSettings,
                            CatalogSettings catalogSettings,
                            CustomerSettings customerSettings,
                            ICategoryService categoryService,
                            ICustomerService customerService,
                            IDateTimeHelper dateTimeHelper,
                            IDownloadService downloadService,
                            ILocalizationService localizationService,
                            IPermissionService permissionService,
                            IPictureService pictureService,
                            IProductService productService,
                            IProductTagService productTagService,
                            IProductTemplateService productTemplateService,
                            IReviewTypeService reviewTypeService,
                            IStaticCacheManager cacheManager,
                            IStoreContext storeContext,
                            IUrlRecordService urlRecordService,
                            IVendorService vendorService,
                            IWebHelper webHelper,
                            IWorkContext workContext,
                            MediaSettings mediaSettings,
                            SeoSettings seoSettings,
                            VendorSettings vendorSettings)
 {
     this._captchaSettings        = captchaSettings;
     this._catalogSettings        = catalogSettings;
     this._customerSettings       = customerSettings;
     this._categoryService        = categoryService;
     this._customerService        = customerService;
     this._dateTimeHelper         = dateTimeHelper;
     this._downloadService        = downloadService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._pictureService         = pictureService;
     this._productService         = productService;
     this._productTagService      = productTagService;
     this._productTemplateService = productTemplateService;
     this._reviewTypeService      = reviewTypeService;
     this._cacheManager           = cacheManager;
     this._storeContext           = storeContext;
     this._urlRecordService       = urlRecordService;
     this._vendorService          = vendorService;
     this._webHelper      = webHelper;
     this._workContext    = workContext;
     this._mediaSettings  = mediaSettings;
     this._seoSettings    = seoSettings;
     this._vendorSettings = vendorSettings;
 }
Exemple #33
0
 public BackwardCompatibility1XController(IProductService productService,
                                          ICategoryService categoryService, IManufacturerService manufacturerService,
                                          IProductTagService productTagService, INewsService newsService,
                                          IBlogService blogService, ITopicService topicService,
                                          IForumService forumService, ICustomerService customerService)
 {
     this._productService      = productService;
     this._categoryService     = categoryService;
     this._manufacturerService = manufacturerService;
     this._productTagService   = productTagService;
     this._newsService         = newsService;
     this._blogService         = blogService;
     this._topicService        = topicService;
     this._forumService        = forumService;
     this._customerService     = customerService;
 }
 public BackwardCompatibility1XController(IProductService productService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     IProductTagService productTagService, INewsService newsService,
     IBlogService blogService, ITopicService topicService,
     IForumService forumService, ICustomerService customerService)
 {
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._productTagService = productTagService;
     this._newsService = newsService;
     this._blogService = blogService;
     this._topicService = topicService;
     this._forumService = forumService;
     this._customerService = customerService;
 }
Exemple #35
0
 public ProductDeletedEventHandler(
     IRepository <Product> productRepository,
     IRepository <CustomerRoleProduct> customerRoleProductRepository,
     IRepository <Customer> customerRepository,
     IRepository <UrlRecord> urlRecordRepository,
     IRepository <ProductTag> productTagRepository,
     IRepository <ProductReview> productReviewRepository,
     IProductTagService productTagService)
 {
     _productRepository             = productRepository;
     _customerRoleProductRepository = customerRoleProductRepository;
     _customerRepository            = customerRepository;
     _urlRecordRepository           = urlRecordRepository;
     _productTagRepository          = productTagRepository;
     _productReviewRepository       = productReviewRepository;
     _productTagService             = productTagService;
 }
Exemple #36
0
 public CatalogModelFactory(IProductModelFactory productModelFactory,
                            ICategoryService categoryService,
                            IProductService productService,
                            ICategoryTemplateService categoryTemplateService,
                            IWorkContext workContext,
                            IStoreContext storeContext,
                            IPictureService pictureService,
                            ILocalizationService localizationService,
                            IWebHelper webHelper,
                            IProductTagService productTagService,
                            IAclService aclService,
                            IStoreMappingService storeMappingService,
                            ITopicService topicService,
                            IEventPublisher eventPublisher,
                            ISearchTermService searchTermService,
                            HttpContextBase httpContext,
                            MediaSettings mediaSettings,
                            CatalogSettings catalogSettings,
                            BlogSettings blogSettings,
                            ForumSettings forumSettings,
                            ICacheManager cacheManager,
                            DisplayDefaultMenuItemSettings displayDefaultMenuItemSettings)
 {
     this._productModelFactory     = productModelFactory;
     this._categoryService         = categoryService;
     this._productService          = productService;
     this._categoryTemplateService = categoryTemplateService;
     this._workContext             = workContext;
     this._storeContext            = storeContext;
     this._pictureService          = pictureService;
     this._localizationService     = localizationService;
     this._webHelper                      = webHelper;
     this._productTagService              = productTagService;
     this._aclService                     = aclService;
     this._storeMappingService            = storeMappingService;
     this._topicService                   = topicService;
     this._eventPublisher                 = eventPublisher;
     this._searchTermService              = searchTermService;
     this._httpContext                    = httpContext;
     this._mediaSettings                  = mediaSettings;
     this._catalogSettings                = catalogSettings;
     this._blogSettings                   = blogSettings;
     this._forumSettings                  = forumSettings;
     this._cacheManager                   = cacheManager;
     this._displayDefaultMenuItemSettings = displayDefaultMenuItemSettings;
 }
 public CopyProductService(IProductService productService,
     IProductAttributeService productAttributeService, ILanguageService languageService,
     ILocalizedEntityService localizedEntityService, IPictureService pictureService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     ISpecificationAttributeService specificationAttributeService, IDownloadService downloadService,
     IProductAttributeParser productAttributeParser, IProductTagService productTagService)
 {
     this._productService = productService;
     this._productAttributeService = productAttributeService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._pictureService = pictureService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._specificationAttributeService = specificationAttributeService;
     this._downloadService = downloadService;
     this._productAttributeParser = productAttributeParser;
     this._productTagService = productTagService;
 }
        //product service
        //image service
        //specification attribute service
        //category service ?
        //manufacturers services ?
        //ILocalizationService
        //ICustomerActivityService
        //Tag Services

        public ProductResolver(IProductService productService, IProductTagService tagService,
            ISpecificationAttributeService attributeService,
            ICategoryService categoryService, IManufacturerService manufacturerService, IPictureService pictureService,
            IUrlRecordService urlRecordService, ILogger logger)
        {
            if (productService == null) throw new ArgumentNullException("productService");
            if (pictureService == null) throw new ArgumentNullException("pictureService");
            if (tagService == null) throw new ArgumentNullException("tagService");
            if (attributeService == null) throw new ArgumentNullException("attributeService");
            if (categoryService == null) throw new ArgumentNullException("categoryService");
            if (manufacturerService == null) throw new ArgumentNullException("manufacturerService");
            if (urlRecordService == null) throw new ArgumentNullException("urlRecordService");

            _productService = productService;
            _tagService = tagService;
            _attributeService = attributeService;
            _categoryService = categoryService;
            _manufacturerService = manufacturerService;
            _pictureService = pictureService;
            _urlRecordService = urlRecordService;
            _logger = logger;
        }
 public CatalogController(ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     IProductService productService, 
     IVendorService vendorService,
     ICategoryTemplateService categoryTemplateService,
     IManufacturerTemplateService manufacturerTemplateService,
     IWorkContext workContext, 
     IStoreContext storeContext,
     ITaxService taxService, 
     ICurrencyService currencyService,
     IPictureService pictureService, 
     ILocalizationService localizationService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IWebHelper webHelper, 
     ISpecificationAttributeService specificationAttributeService,
     IProductTagService productTagService,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService, 
     ICustomerActivityService customerActivityService,
     ITopicService topicService,
     IEventPublisher eventPublisher,
     ISearchTermService searchTermService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings,
     BlogSettings blogSettings,
     ForumSettings  forumSettings,
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._vendorService = vendorService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._taxService = taxService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._webHelper = webHelper;
     this._specificationAttributeService = specificationAttributeService;
     this._productTagService = productTagService;
     this._genericAttributeService = genericAttributeService;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._permissionService = permissionService;
     this._customerActivityService = customerActivityService;
     this._topicService = topicService;
     this._eventPublisher = eventPublisher;
     this._searchTermService = searchTermService;
     this._mediaSettings = mediaSettings;
     this._catalogSettings = catalogSettings;
     this._vendorSettings = vendorSettings;
     this._blogSettings = blogSettings;
     this._forumSettings = forumSettings;
     this._cacheManager = cacheManager;
 }
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService, 
     IWorkContext workContext, 
     ILanguageService languageService, 
     ILocalizationService localizationService, 
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, 
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService, 
     IProductTagService productTagService,
     ICopyProductService copyProductService, 
     IPdfService pdfService,
     IExportManager exportManager, 
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, 
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
      IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService, 
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._orderService = orderService;
     this._storeMappingService = storeMappingService;
     this._vendorService = vendorService;
     this._shippingService = shippingService;
     this._shipmentService = shipmentService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._adminAreaSettings = adminAreaSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._discountService = discountService;
     this._productAttributeService = productAttributeService;
     this._backInStockSubscriptionService = backInStockSubscriptionService;
     this._shoppingCartService = shoppingCartService;
     this._productAttributeFormatter = productAttributeFormatter;
     this._productAttributeParser = productAttributeParser;
     this._downloadService = downloadService;
 }
 public CatalogController(ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     IVendorService vendorService,
     ICategoryTemplateService categoryTemplateService,
     IManufacturerTemplateService manufacturerTemplateService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ITaxService taxService,
     ICurrencyService currencyService,
     IPictureService pictureService,
     ILocalizationService localizationService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IWebHelper webHelper,
     ISpecificationAttributeService specificationAttributeService,
     IProductTagService productTagService,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ITopicService topicService,
     IEventPublisher eventPublisher,
     ISearchTermService searchTermService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings,
     BlogSettings blogSettings,
     ForumSettings forumSettings,
     ICacheManager cacheManager)
     : base (categoryService,
     manufacturerService,
     productService,
     vendorService,
     categoryTemplateService,
     manufacturerTemplateService,
     workContext,
     storeContext,
     taxService,
     currencyService,
     pictureService,
     localizationService,
     priceCalculationService,
     priceFormatter,
     webHelper,
     specificationAttributeService,
     productTagService,
     genericAttributeService,
     aclService,
     storeMappingService,
     permissionService,
     customerActivityService,
     topicService,
     eventPublisher,
     searchTermService,
     mediaSettings,
     catalogSettings,
     vendorSettings,
     blogSettings,
      forumSettings,
     cacheManager)
 {
 }
        //I think this is the method that uses dependancy injection to create the repos - as opposed to manual
        //see:http://alexwolfthoughts.com/creating-a-generic-repository-with-entity-framework-and-mvc
        public AUPublicController(IRepository<AUConsignorRecord> consignorRepo,
                                        IRepository<AUConsignmentRecord> consignmentRepo,
                                        IRepository<AUConsignorConsignmentRecord> consignorconsignmentRepo,
                                        IRepository<AUConsignorList> consignorlistRepo,
                                        IRepository<AUSaleRecord> saleRepo,
                                        IRepository<AUSessionRecord> sessionRepo,
                                        IRepository<AUIncrementRecord> incrementRepo,
                                        IRepository<AUAddressRecord> addressRepo,
                                        IRepository<AUCombAddress> combAddressRepo,
                                        IRepository<AULotList> lotlistRepo,
                                        IRepository<AUFeesRecord> feesRepo,
                                        IRepository<AUBidHistoryRecord> bidhistoryRepo,

                                        ICacheManager cacheManager,
                                        IPictureService pictureService,
                                        IConsignmentService consignmentservice,
                                        ILotService lotService,
                                        IForumService forumservice,

                                        IConsignorService consignorservice,
                                        IDateTimeHelper dateTimeHelper,
                                        IAuthenticationService authenticationService,
                                        ILocalizationService localizationService,
                                        ICountryService countryService,
                                        IStateProvinceService stateProvinceService, 
                                        IWorkContext workContext,                                        
                                        ICollectibleImportService collectibleimportService, 
                                        //IRepository<AUCombConsignorConsignment> combinedRepo,
                                        ICategoryService categoryService,
                                        IStoreService storeService,
                                        IShippingService shippingService,
                                        IPermissionService permissionService,
                                        IEventPublisher eventPublisher,
                                        ISettingService settings,
                                        IProductService productService,
                                        IDbContext dbContext,
                                        IPhilatelicPdfService philatelicpdfService,
                                        ICollectibleExportService collectibleexportService,
                                        IAUSaleService ausaleService,
                                        IAclService aclService,
                                        IStoreMappingService storeMappingService,
                                        CatalogSettings catalogSettings,
                                        IWebHelper webHelper,
                                        IPriceFormatter priceFormatter,
                                        ICurrencyService currencyService,
                                        IStoreContext storeContext,
                                        MediaSettings mediaSettings,
                                        IPriceCalculationService priceCalculationService,
                                        ISpecificationAttributeService specificationAttributeService,
                                        ITaxService taxService,
                                        ICategoryTemplateService categoryTemplateService,
                                        ICustomerActivityService customerActivityService,
                                        ShoppingCartSettings shoppingCartSettings,
                                        IAUCatalogService AUcatalogService,     
                                        IForumService forumService,             
                                        ICustomerService customerService,      
                                        ForumSettings forumSettings,          
                                        ILogger logger,
                                        IRecentlyViewedProductsService recentlyViewedProductsService,
                                        SeoSettings seoSettings,
                                        IVendorService vendorService,
                                        VendorSettings vendorSettings,
                                        IProductTagService productTagService,
                                        IProductTemplateService productTemplateService,
                                        IProductAttributeParser productAttributeParser,
                                        IManufacturerService manufacturerService,
                                        IMeasureService measureService,
                                        IProductAttributeService productAttributeService,
                                        CustomerSettings customerSettings,
                                        IGenericAttributeService genericAttributeService,
                                        ISearchTermService searchTermService,
                                        IShoppingCartService shoppingCartService,
                                        IProductAttributeFormatter productAttributeFormatter)                         
        {
            _cacheManager = cacheManager;
            _pictureService = pictureService;
            _lotService = lotService;
            _forumservice = forumservice;

            _consignorRepo = consignorRepo;
            _consignmentRepo = consignmentRepo;
            _consignorconsignmentRepo = consignorconsignmentRepo;
            _consignorService = consignorservice;
            _consignmentService = consignmentservice;
            _consignorlistRepo = consignorlistRepo;
            _saleRepo = saleRepo;
            _sessionRepo = sessionRepo;
            _incrementRepo = incrementRepo;
            _addressRepo = addressRepo;
            _combAddressRepo = combAddressRepo;
            _lotlistRepo = lotlistRepo;
            _feesRepo = feesRepo;
            _bidhistoryRepo = bidhistoryRepo;
            _dateTimeHelper = dateTimeHelper;
            _authenticationService = authenticationService;
            _localizationService = localizationService;
            _countryService = countryService;
            _stateProvinceService = stateProvinceService;
            _workContext = workContext;
            _collectibleimportService = collectibleimportService;
            _categoryService = categoryService;
            _storeService = storeService;
            _shippingService = shippingService;
            _permissionService = permissionService;
            _eventPublisher = eventPublisher;
            _settings = settings;
            _productService = productService;
            _dbContext = dbContext;
            _philatelicpdfService = philatelicpdfService;
            _collectibleexportService = collectibleexportService;
            _ausaleService = ausaleService;
            _aclService = aclService;
            _storeMappingService = storeMappingService;
            _catalogSettings = catalogSettings;
            _webHelper = webHelper;
            _priceFormatter = priceFormatter;
            _currencyService = currencyService;
            _storeContext = storeContext;
            _mediaSettings = mediaSettings;
            _priceCalculationService = priceCalculationService;
            _specificationAttributeService = specificationAttributeService;
            _taxService = taxService;
            _categoryTemplateService = categoryTemplateService;
            _customerActivityService = customerActivityService;
            _shoppingCartSettings = shoppingCartSettings;
            _AUcatalogService = AUcatalogService;      
            _forumService = forumService;              
            _customerService = customerService;       
            _forumSettings = forumSettings;            
            _logger = logger;
            _recentlyViewedProductsService = recentlyViewedProductsService;          
            _seoSettings = seoSettings;
            _vendorService = vendorService;
            _vendorSettings = vendorSettings;
            _productTemplateService = productTemplateService;
            _productTagService = productTagService;
            _productAttributeParser = productAttributeParser;
            _manufacturerService = manufacturerService;
            _measureService = measureService;
            _productAttributeService = productAttributeService;
            _customerSettings = customerSettings;
            _genericAttributeService = genericAttributeService;
            _searchTermService = searchTermService;
            _shoppingCartService = shoppingCartService;
            _productAttributeFormatter = productAttributeFormatter;
        }
 public GroupDealsController(
     IProductService productService,
     IProductTemplateService productTemplateService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWorkContext workContext,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService,
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService,
     IProductTagService productTagService,
     ICopyProductService copyProductService,
     IPdfService pdfService,
     IExportManager exportManager,
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService,
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
     IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     IRepository<GroupDeal> groupDealRepo,
     IRepository<GroupdealPicture> groupdealPictureRepo,
     IGroupDealService groupdealService,
     IGenericAttributeService genericAttributeService)
     : base(productService,
     productTemplateService,
     categoryService,
     manufacturerService,
     customerService,
     urlRecordService,
     workContext,
     languageService,
     localizationService,
     localizedEntityService,
     specificationAttributeService,
     pictureService,
     taxCategoryService,
     productTagService,
     copyProductService,
     pdfService,
     exportManager,
     importManager,
     customerActivityService,
     permissionService,
     aclService,
     storeService,
     orderService,
     storeMappingService,
     vendorService,
     shippingService,
     shipmentService,
     currencyService,
     currencySettings,
     measureService,
     measureSettings,
     adminAreaSettings,
     dateTimeHelper,
     discountService,
     productAttributeService,
     backInStockSubscriptionService,
     shoppingCartService,
     productAttributeFormatter,
     productAttributeParser,
     downloadService,
     groupDealRepo,
     groupdealPictureRepo,
     groupdealService,
     genericAttributeService)
 { }
        public CatalogController(ICommonServices services,
			ICategoryService categoryService,
            IManufacturerService manufacturerService, IProductService productService,
            IProductTemplateService productTemplateService,
            ICategoryTemplateService categoryTemplateService,
            IManufacturerTemplateService manufacturerTemplateService,
            IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser,
			IProductAttributeFormatter productAttributeFormatter,
			ITaxService taxService, ICurrencyService currencyService,
            IPictureService pictureService,
            IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
            ISpecificationAttributeService specificationAttributeService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IShoppingCartService shoppingCartService,
            IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService,
            IWorkflowMessageService workflowMessageService, IProductTagService productTagService,
            IOrderReportService orderReportService, IGenericAttributeService genericAttributeService,
            IBackInStockSubscriptionService backInStockSubscriptionService, IAclService aclService,
			IStoreMappingService storeMappingService,
            IPermissionService permissionService, IDownloadService downloadService,
            MediaSettings mediaSettings, CatalogSettings catalogSettings,
            ShoppingCartSettings shoppingCartSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
			CurrencySettings currencySettings,
            CaptchaSettings captchaSettings,
            /* codehint: sm-add */
            IMeasureService measureService, MeasureSettings measureSettings, TaxSettings taxSettings, IFilterService filterService,
            IDeliveryTimeService deliveryTimeService, ISettingService settingService,
			ICustomerActivityService customerActivityService
            )
        {
			this._services = services;
			this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._productTemplateService = productTemplateService;
            this._categoryTemplateService = categoryTemplateService;
            this._manufacturerTemplateService = manufacturerTemplateService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
			this._productAttributeFormatter = productAttributeFormatter;
            this._workContext = _services.WorkContext;
			this._storeContext = _services.StoreContext;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._localizationService = _services.Localization;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._webHelper = _services.WebHelper;
            this._specificationAttributeService = specificationAttributeService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._shoppingCartService = shoppingCartService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._compareProductsService = compareProductsService;
            this._workflowMessageService = workflowMessageService;
            this._productTagService = productTagService;
            this._orderReportService = orderReportService;
            this._genericAttributeService = genericAttributeService;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._aclService = aclService;
			this._storeMappingService = storeMappingService;
            this._permissionService = permissionService;
            this._downloadService = downloadService;
			this._customerActivityService = customerActivityService;

            //codehint: sm-edit begin
            this._measureService = measureService;
            this._measureSettings = measureSettings;
            this._taxSettings = taxSettings;
            this._filterService = filterService;
            this._deliveryTimeService = deliveryTimeService;
            this._dbContext = _services.DbContext;
            this._settingService = settingService;
            this._eventPublisher = _services.EventPublisher;
            //codehint: sm-edit end

            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
			this._currencySettings = currencySettings;
            this._cacheManager = _services.Cache;

			T = NullLocalizer.Instance;
        }
 public ProductController(ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     IVendorService vendorService,
     IProductTemplateService productTemplateService,
     IProductAttributeService productAttributeService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ITaxService taxService,
     ICurrencyService currencyService,
     IPictureService pictureService,
     ILocalizationService localizationService,
     IMeasureService measureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IWebHelper webHelper,
     ISpecificationAttributeService specificationAttributeService,
     IDateTimeHelper dateTimeHelper,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IWorkflowMessageService workflowMessageService,
     IProductTagService productTagService,
     IOrderReportService orderReportService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     IDownloadService downloadService,
     ICustomerActivityService customerActivityService,
     IProductAttributeParser productAttributeParser,
     IShippingService shippingService,
     IEventPublisher eventPublisher,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CustomerSettings customerSettings,
     CaptchaSettings captchaSettings,
     SeoSettings seoSettings,
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._vendorService = vendorService;
     this._productTemplateService = productTemplateService;
     this._productAttributeService = productAttributeService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._taxService = taxService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._measureService = measureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._webHelper = webHelper;
     this._specificationAttributeService = specificationAttributeService;
     this._dateTimeHelper = dateTimeHelper;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService = compareProductsService;
     this._workflowMessageService = workflowMessageService;
     this._productTagService = productTagService;
     this._orderReportService = orderReportService;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._permissionService = permissionService;
     this._downloadService = downloadService;
     this._customerActivityService = customerActivityService;
     this._productAttributeParser = productAttributeParser;
     this._shippingService = shippingService;
     this._eventPublisher = eventPublisher;
     this._mediaSettings = mediaSettings;
     this._catalogSettings = catalogSettings;
     this._vendorSettings = vendorSettings;
     this._shoppingCartSettings = shoppingCartSettings;
     this._localizationSettings = localizationSettings;
     this._customerSettings = customerSettings;
     this._captchaSettings = captchaSettings;
     this._seoSettings = seoSettings;
     this._cacheManager = cacheManager;
 }
Exemple #46
0
        public CatalogController(ICategoryService categoryService, 
            IManufacturerService manufacturerService, IProductService productService, 
            IProductTemplateService productTemplateService,
            ICategoryTemplateService categoryTemplateService,
            IManufacturerTemplateService manufacturerTemplateService,
            IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser, 
            IWorkContext workContext, ITaxService taxService, ICurrencyService currencyService,
            IPictureService pictureService, ILocalizationService localizationService,
            IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
            IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IShoppingCartService shoppingCartService,
            IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService,
            IWorkflowMessageService workflowMessageService, IProductTagService productTagService,
            IOrderReportService orderReportService, ICustomerService customerService,
            IBackInStockSubscriptionService backInStockSubscriptionService,
            IPermissionService permissionService, IDownloadService downloadService,
            MediaSettings mediaSetting, CatalogSettings catalogSettings,
            ShoppingCartSettings shoppingCartSettings, StoreInformationSettings storeInformationSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings, 
            CaptchaSettings captchaSettings,
            ICacheManager cacheManager)
        {
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._productTemplateService = productTemplateService;
            this._categoryTemplateService = categoryTemplateService;
            this._manufacturerTemplateService = manufacturerTemplateService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._workContext = workContext;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._webHelper = webHelper;
            this._specificationAttributeService = specificationAttributeService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._shoppingCartService = shoppingCartService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._compareProductsService = compareProductsService;
            this._workflowMessageService = workflowMessageService;
            this._productTagService = productTagService;
            this._orderReportService = orderReportService;
            this._customerService = customerService;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._permissionService = permissionService;
            this._downloadService = downloadService;

            this._mediaSetting = mediaSetting;
            this._catalogSettings = catalogSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;

            this._cacheManager = cacheManager;
        }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="productVariantRepository">Product variant repository</param>
 /// <param name="relatedProductRepository">Related product repository</param>
 /// <param name="crossSellProductRepository">Cross-sell product repository</param>
 /// <param name="tierPriceRepository">Tier price repository</param>
 /// <param name="localizedPropertyRepository">Localized property repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="productSpecificationAttributeRepository">Product specification attribute repository</param>
 /// <param name="productAttributeService">Product attribute service</param>
 /// <param name="productAttributeParser">Product attribute parser service</param>
 /// <param name="productTagService">Product tag service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="workContext">Work context</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="eventPublisher">Event published</param>
 public ProductService(ICacheManager cacheManager,
     IRepository<Product> productRepository,
     IRepository<ProductVariant> productVariantRepository,
     IRepository<RelatedProduct> relatedProductRepository,
     IRepository<CrossSellProduct> crossSellProductRepository,
     IRepository<TierPrice> tierPriceRepository,
     IRepository<ProductPicture> productPictureRepository,
     IRepository<LocalizedProperty> localizedPropertyRepository,
     IRepository<AclRecord> aclRepository,
     IRepository<ProductSpecificationAttribute> productSpecificationAttributeRepository,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     IProductTagService productTagService,
     ILanguageService languageService,
     IWorkflowMessageService workflowMessageService,
     IDataProvider dataProvider, IDbContext dbContext,
     IWorkContext workContext,
     LocalizationSettings localizationSettings, CommonSettings commonSettings,
     IEventPublisher eventPublisher)
 {
     this._cacheManager = cacheManager;
     this._productRepository = productRepository;
     this._productVariantRepository = productVariantRepository;
     this._relatedProductRepository = relatedProductRepository;
     this._crossSellProductRepository = crossSellProductRepository;
     this._tierPriceRepository = tierPriceRepository;
     this._productPictureRepository = productPictureRepository;
     this._localizedPropertyRepository = localizedPropertyRepository;
     this._aclRepository = aclRepository;
     this._productSpecificationAttributeRepository = productSpecificationAttributeRepository;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser = productAttributeParser;
     this._productTagService = productTagService;
     this._languageService = languageService;
     this._workflowMessageService = workflowMessageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._workContext = workContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._eventPublisher = eventPublisher;
 }