Exemplo n.º 1
0
 public ProductController(
     IProductService productService,
     IProductViewModelService productViewModelService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     CaptchaSettings captchaSettings
     )
 {
     this._productService                = productService;
     this._productViewModelService       = productViewModelService;
     this._workContext                   = workContext;
     this._storeContext                  = storeContext;
     this._localizationService           = localizationService;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService        = compareProductsService;
     this._aclService                 = aclService;
     this._storeMappingService        = storeMappingService;
     this._permissionService          = permissionService;
     this._customerActivityService    = customerActivityService;
     this._customerActionEventService = customerActionEventService;
     this._catalogSettings            = catalogSettings;
     this._shoppingCartSettings       = shoppingCartSettings;
     this._captchaSettings            = captchaSettings;
 }
Exemplo n.º 2
0
 public ProductController(
     IProductService productService,
     IWorkContext workContext,
     ITranslationService translationService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IShoppingCartService shoppingCartService,
     ICompareProductsService compareProductsService,
     IAclService aclService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IMediator mediator,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     CaptchaSettings captchaSettings
     )
 {
     _productService                = productService;
     _workContext                   = workContext;
     _translationService            = translationService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartService           = shoppingCartService;
     _compareProductsService        = compareProductsService;
     _aclService                 = aclService;
     _permissionService          = permissionService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _mediator             = mediator;
     _catalogSettings      = catalogSettings;
     _shoppingCartSettings = shoppingCartSettings;
     _captchaSettings      = captchaSettings;
 }
Exemplo n.º 3
0
 public ProductController(CaptchaSettings captchaSettings,
                          CatalogSettings catalogSettings,
                          IAclService aclService,
                          ICompareProductsService compareProductsService,
                          ICustomerActivityService customerActivityService,
                          ICustomerService customerService,
                          IEventPublisher eventPublisher,
                          IHtmlFormatter htmlFormatter,
                          ILocalizationService localizationService,
                          IOrderService orderService,
                          IPermissionService permissionService,
                          IProductAttributeParser productAttributeParser,
                          IProductModelFactory productModelFactory,
                          IProductService productService,
                          IRecentlyViewedProductsService recentlyViewedProductsService,
                          IReviewTypeService reviewTypeService,
                          IShoppingCartModelFactory shoppingCartModelFactory,
                          IShoppingCartService shoppingCartService,
                          IStoreContext storeContext,
                          IStoreMappingService storeMappingService,
                          IUrlRecordService urlRecordService,
                          IWebHelper webHelper,
                          IWorkContext workContext,
                          IWorkflowMessageService workflowMessageService,
                          LocalizationSettings localizationSettings,
                          ShoppingCartSettings shoppingCartSettings,
                          ShippingSettings shippingSettings)
 {
     _captchaSettings               = captchaSettings;
     _catalogSettings               = catalogSettings;
     _aclService                    = aclService;
     _compareProductsService        = compareProductsService;
     _customerActivityService       = customerActivityService;
     _customerService               = customerService;
     _eventPublisher                = eventPublisher;
     _htmlFormatter                 = htmlFormatter;
     _localizationService           = localizationService;
     _orderService                  = orderService;
     _permissionService             = permissionService;
     _productAttributeParser        = productAttributeParser;
     _productModelFactory           = productModelFactory;
     _productService                = productService;
     _reviewTypeService             = reviewTypeService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartModelFactory      = shoppingCartModelFactory;
     _shoppingCartService           = shoppingCartService;
     _storeContext                  = storeContext;
     _storeMappingService           = storeMappingService;
     _urlRecordService              = urlRecordService;
     _webHelper              = webHelper;
     _workContext            = workContext;
     _workflowMessageService = workflowMessageService;
     _localizationSettings   = localizationSettings;
     _shoppingCartSettings   = shoppingCartSettings;
     _shippingSettings       = shippingSettings;
 }
Exemplo n.º 4
0
        public CommonController(ICategoryService categoryService, IProductService productService,
                                IManufacturerService manufacturerService, ITopicService topicService,
                                ILanguageService languageService,
                                ICurrencyService currencyService, ILocalizationService localizationService,
                                IWorkContext workContext, IStoreContext storeContext,
                                IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,
                                ISitemapGenerator sitemapGenerator, IThemeContext themeContext,
                                IThemeProvider themeProvider, IForumService forumService,
                                IGenericAttributeService genericAttributeService, IWebHelper webHelper,
                                IPermissionService permissionService,
                                ICompareProductsService compareProductsService,
                                IMobileDeviceHelper mobileDeviceHelper,
                                HttpContextBase httpContext, ICacheManager cacheManager,
                                ICustomerActivityService customerActivityService, CustomerSettings customerSettings,
                                TaxSettings taxSettings, CatalogSettings catalogSettings,
                                StoreInformationSettings storeInformationSettings, EmailAccountSettings emailAccountSettings,
                                CommonSettings commonSettings, BlogSettings blogSettings,
                                NewsSettings newsSettings, ForumSettings forumSettings,
                                LocalizationSettings localizationSettings, CaptchaSettings captchaSettings)
        {
            this._categoryService         = categoryService;
            this._productService          = productService;
            this._manufacturerService     = manufacturerService;
            this._topicService            = topicService;
            this._languageService         = languageService;
            this._currencyService         = currencyService;
            this._localizationService     = localizationService;
            this._workContext             = workContext;
            this._storeContext            = storeContext;
            this._queuedEmailService      = queuedEmailService;
            this._emailAccountService     = emailAccountService;
            this._sitemapGenerator        = sitemapGenerator;
            this._themeContext            = themeContext;
            this._themeProvider           = themeProvider;
            this._forumservice            = forumService;
            this._genericAttributeService = genericAttributeService;
            this._webHelper               = webHelper;
            this._permissionService       = permissionService;
            this._mobileDeviceHelper      = mobileDeviceHelper;
            this._httpContext             = httpContext;
            this._cacheManager            = cacheManager;
            this._customerActivityService = customerActivityService;
            this._compareProductsService  = compareProductsService;

            this._customerSettings         = customerSettings;
            this._taxSettings              = taxSettings;
            this._catalogSettings          = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._emailAccountSettings     = emailAccountSettings;
            this._commonSettings           = commonSettings;
            this._blogSettings             = blogSettings;
            this._newsSettings             = newsSettings;
            this._forumSettings            = forumSettings;
            this._localizationSettings     = localizationSettings;
            this._captchaSettings          = captchaSettings;
        }
Exemplo n.º 5
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;
 }
Exemplo n.º 6
0
 public ProductController(CaptchaSettings captchaSettings,
                          CatalogSettings catalogSettings,
                          IAclService aclService,
                          ICompareProductsService compareProductsService,
                          ICustomerActivityService customerActivityService,
                          IEventPublisher eventPublisher,
                          ILocalizationService localizationService,
                          IOrderService orderService,
                          IPermissionService permissionService,
                          IProductModelFactory productModelFactory,
                          IAppointmentModelFactory appointmentModelFactory,
                          IProductService productService,
                          IAppointmentService appointmentService,
                          //IRecentlyViewedProductsService recentlyViewedProductsService,
                          IShoppingCartService shoppingCartService,
                          IStoreContext storeContext,
                          IStoreMappingService storeMappingService,
                          IUrlRecordService urlRecordService,
                          IWebHelper webHelper,
                          IDateTimeHelper dateTimeHelper,
                          IWorkContext workContext,
                          IWorkflowMessageService workflowMessageService,
                          LocalizationSettings localizationSettings,
                          ShoppingCartSettings shoppingCartSettings)
 {
     _captchaSettings         = captchaSettings;
     _catalogSettings         = catalogSettings;
     _aclService              = aclService;
     _compareProductsService  = compareProductsService;
     _customerActivityService = customerActivityService;
     _eventPublisher          = eventPublisher;
     _localizationService     = localizationService;
     _orderService            = orderService;
     _permissionService       = permissionService;
     _productModelFactory     = productModelFactory;
     _appointmentModelFactory = appointmentModelFactory;
     _productService          = productService;
     _appointmentService      = appointmentService;
     //_recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartService    = shoppingCartService;
     _storeContext           = storeContext;
     _storeMappingService    = storeMappingService;
     _urlRecordService       = urlRecordService;
     _webHelper              = webHelper;
     _dateTimeHelper         = dateTimeHelper;
     _workContext            = workContext;
     _workflowMessageService = workflowMessageService;
     _localizationSettings   = localizationSettings;
     _shoppingCartSettings   = shoppingCartSettings;
 }
Exemplo n.º 7
0
 public ProductController(CaptchaSettings captchaSettings,
                          CatalogSettings catalogSettings,
                          IDiscountService discountService,
                          IAclService aclService,
                          ICompareProductsService compareProductsService,
                          ICustomerActivityService customerActivityService,
                          IEventPublisher eventPublisher,
                          IOrderReportService orderReportService,
                          ILocalizationService localizationService,
                          IOrderService orderService,
                          IPermissionService permissionService,
                          IProductModelFactory productModelFactory,
                          IProductService productService,
                          IRecentlyViewedProductsService recentlyViewedProductsService,
                          IStoreContext storeContext,
                          IStoreMappingService storeMappingService,
                          IUrlRecordService urlRecordService,
                          IWebHelper webHelper,
                          IStaticCacheManager cacheManager,
                          IWorkContext workContext,
                          IWorkflowMessageService workflowMessageService,
                          LocalizationSettings localizationSettings,
                          ShoppingCartSettings shoppingCartSettings,
                          ILocationService locationService)
 {
     this._discountService               = discountService;
     this._captchaSettings               = captchaSettings;
     this._orderReportService            = orderReportService;
     this._catalogSettings               = catalogSettings;
     this._aclService                    = aclService;
     this._compareProductsService        = compareProductsService;
     this._customerActivityService       = customerActivityService;
     this._eventPublisher                = eventPublisher;
     this._localizationService           = localizationService;
     this._orderService                  = orderService;
     this._permissionService             = permissionService;
     this._productModelFactory           = productModelFactory;
     this._productService                = productService;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._storeContext                  = storeContext;
     this._storeMappingService           = storeMappingService;
     this._urlRecordService              = urlRecordService;
     this._webHelper              = webHelper;
     this._workContext            = workContext;
     this._workflowMessageService = workflowMessageService;
     this._localizationSettings   = localizationSettings;
     this._shoppingCartSettings   = shoppingCartSettings;
     this._cacheManager           = cacheManager;
     this._locationService        = locationService;
 }
Exemplo n.º 8
0
 public ProductController(
     IProductService productService,
     IProductWebService productWebService,
     IProductReservationService productReservationService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IWebHelper webHelper,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IOrderReportService orderReportService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IEventPublisher eventPublisher,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CaptchaSettings captchaSettings,
     ICacheManager cacheManager,
     IOrderService orderService
     )
 {
     this._productService            = productService;
     this._productWebService         = productWebService;
     this._productReservationService = productReservationService;
     this._workContext                   = workContext;
     this._storeContext                  = storeContext;
     this._localizationService           = localizationService;
     this._webHelper                     = webHelper;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService        = compareProductsService;
     this._orderReportService            = orderReportService;
     this._aclService                    = aclService;
     this._storeMappingService           = storeMappingService;
     this._permissionService             = permissionService;
     this._customerActivityService       = customerActivityService;
     this._customerActionEventService    = customerActionEventService;
     this._eventPublisher                = eventPublisher;
     this._catalogSettings               = catalogSettings;
     this._shoppingCartSettings          = shoppingCartSettings;
     this._localizationSettings          = localizationSettings;
     this._captchaSettings               = captchaSettings;
     this._cacheManager                  = cacheManager;
     this._orderService                  = orderService;
 }
        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;
        }
Exemplo n.º 10
0
 public CatalogController(
     ICommonServices services,
     IMenuService menuService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     ICategoryTemplateService categoryTemplateService,
     IManufacturerTemplateService manufacturerTemplateService,
     IOrderReportService orderReportService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IPictureService pictureService,
     ICompareProductsService compareProductsService,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb)
 {
     _services                      = services;
     _menuService                   = menuService;
     _categoryService               = categoryService;
     _manufacturerService           = manufacturerService;
     _productService                = productService;
     _categoryTemplateService       = categoryTemplateService;
     _manufacturerTemplateService   = manufacturerTemplateService;
     _orderReportService            = orderReportService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _compareProductsService        = compareProductsService;
     _pictureService                = pictureService;
     _genericAttributeService       = genericAttributeService;
     _aclService                    = aclService;
     _storeMappingService           = storeMappingService;
     _catalogSearchService          = catalogSearchService;
     _mediaSettings                 = mediaSettings;
     _catalogSettings               = catalogSettings;
     _helper     = helper;
     _breadcrumb = breadcrumb;
 }
Exemplo n.º 11
0
 public CatalogController(IManufacturerService manufacturerService, ICategoryService categoryService,
                          IProductService productService, ICompareProductsService compareProductsService,
                          IProductAttributeService productAttributeService, ICopyProductService copyProductService, MediaSettings mediaSettings,
                          ICacheManager cacheManager, IPictureService pictureService, IWorkContext workContext, CatalogSettings catalogSettings,
                          IPluginFinder pluginFinder, IStoreContext storeContext, IWebHelper webHelper, ILocalizationService localizationService)
 {
     _manufacturerService     = manufacturerService;
     _mediaSettings           = mediaSettings;
     _categoryService         = categoryService;
     _productService          = productService;
     _compareProductsService  = compareProductsService;
     _productAttributeService = productAttributeService;
     _copyProductService      = copyProductService;
     _mediaSettings           = mediaSettings;
     _cacheManager            = cacheManager;
     _pictureService          = pictureService;
     _workContext             = workContext;
     _pluginFinder            = pluginFinder;
     _storeContext            = storeContext;
     _webHelper           = webHelper;
     _localizationService = localizationService;
     _catalogSettings     = catalogSettings;
 }
Exemplo n.º 12
0
 public ProductController(
     IProductService productService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IShoppingCartService shoppingCartService,
     ICompareProductsService compareProductsService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IMediator mediator,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     CaptchaSettings captchaSettings, IImportService importService, IRepository <Product> productRepository)
 {
     _productService                = productService;
     _workContext                   = workContext;
     _storeContext                  = storeContext;
     _localizationService           = localizationService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartService           = shoppingCartService;
     _compareProductsService        = compareProductsService;
     _aclService                 = aclService;
     _storeMappingService        = storeMappingService;
     _permissionService          = permissionService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _mediator             = mediator;
     _catalogSettings      = catalogSettings;
     _shoppingCartSettings = shoppingCartSettings;
     _captchaSettings      = captchaSettings;
     _importService        = importService;
     _productRepository    = productRepository;
 }
Exemplo n.º 13
0
        public MVPController(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,
                             IStoreService storeService,
                             ISettingService settingService,
                             IProductReportService productReportService,
                             IMVPService mvpService

                             )
        {
            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;
            this._storeService            = storeService;
            this._settingService          = settingService;
            this._productReportService    = productReportService;
            this._mvpService              = mvpService;
        }
Exemplo n.º 14
0
 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;
 }
Exemplo n.º 15
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;
        }
Exemplo n.º 16
0
 public CommonModelFactory(BlogSettings blogSettings,
                           CaptchaSettings captchaSettings,
                           CatalogSettings catalogSettings,
                           CommonSettings commonSettings,
                           CustomerSettings customerSettings,
                           DisplayDefaultFooterItemSettings displayDefaultFooterItemSettings,
                           ForumSettings forumSettings,
                           IActionContextAccessor actionContextAccessor,
                           ICompareProductsService compareProductsService,
                           ICategoryService categoryService,
                           ICurrencyService currencyService,
                           ICustomerService customerService,
                           IForumService forumService,
                           IGenericAttributeService genericAttributeService,
                           IHostingEnvironment hostingEnvironment,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           IManufacturerService manufacturerService,
                           INopFileProvider fileProvider,
                           IPageHeadBuilder pageHeadBuilder,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           IProductService productService,
                           IProductTagService productTagService,
                           ISitemapGenerator sitemapGenerator,
                           IStaticCacheManager cacheManager,
                           IStoreContext storeContext,
                           IThemeContext themeContext,
                           IThemeProvider themeProvider,
                           ITopicService topicService,
                           IUrlHelperFactory urlHelperFactory,
                           IUrlRecordService urlRecordService,
                           IWebHelper webHelper,
                           IWorkContext workContext,
                           LocalizationSettings localizationSettings,
                           NewsSettings newsSettings,
                           StoreInformationSettings storeInformationSettings,
                           VendorSettings vendorSettings)
 {
     this._blogSettings                     = blogSettings;
     this._captchaSettings                  = captchaSettings;
     this._compareProductsService           = compareProductsService;
     this._catalogSettings                  = catalogSettings;
     this._commonSettings                   = commonSettings;
     this._customerSettings                 = customerSettings;
     this._displayDefaultFooterItemSettings = displayDefaultFooterItemSettings;
     this._forumSettings                    = forumSettings;
     this._actionContextAccessor            = actionContextAccessor;
     this._categoryService                  = categoryService;
     this._currencyService                  = currencyService;
     this._customerService                  = customerService;
     this._forumService                     = forumService;
     this._genericAttributeService          = genericAttributeService;
     this._hostingEnvironment               = hostingEnvironment;
     this._languageService                  = languageService;
     this._localizationService              = localizationService;
     this._manufacturerService              = manufacturerService;
     this._fileProvider                     = fileProvider;
     this._pageHeadBuilder                  = pageHeadBuilder;
     this._permissionService                = permissionService;
     this._pictureService                   = pictureService;
     this._productService                   = productService;
     this._productTagService                = productTagService;
     this._sitemapGenerator                 = sitemapGenerator;
     this._cacheManager                     = cacheManager;
     this._storeContext                     = storeContext;
     this._themeContext                     = themeContext;
     this._themeProvider                    = themeProvider;
     this._topicService                     = topicService;
     this._urlHelperFactory                 = urlHelperFactory;
     this._urlRecordService                 = urlRecordService;
     this._webHelper                = webHelper;
     this._workContext              = workContext;
     this._localizationSettings     = localizationSettings;
     this._newsSettings             = newsSettings;
     this._storeInformationSettings = storeInformationSettings;
     this._vendorSettings           = vendorSettings;
 }
        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;
        }