public NewsController(INewsService newsService,
                              IWorkContext workContext, IStoreContext storeContext,
                              IPictureService pictureService, ILocalizationService localizationService,
                              ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
                              IWebHelper webHelper,
                              ICacheManager cacheManager, ICustomerActivityService customerActivityService,
                              IStoreMappingService storeMappingService,
                              ILanguageService languageService,
                              MediaSettings mediaSettings, NewsSettings newsSettings,
                              LocalizationSettings localizationSettings, CustomerSettings customerSettings,
                              CaptchaSettings captchaSettings)
        {
            this._newsService            = newsService;
            this._workContext            = workContext;
            this._storeContext           = storeContext;
            this._pictureService         = pictureService;
            this._localizationService    = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper         = dateTimeHelper;
            this._webHelper               = webHelper;
            this._cacheManager            = cacheManager;
            this._customerActivityService = customerActivityService;
            this._storeMappingService     = storeMappingService;
            this._languageService         = languageService;

            this._mediaSettings        = mediaSettings;
            this._newsSettings         = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings     = customerSettings;
            this._captchaSettings      = captchaSettings;
        }
Exemple #2
0
        public BlogController(IBlogService blogService, 
            IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            ICacheManager cacheManager, ICustomerActivityService customerActivityService,
            MediaSettings mediaSettings, BlogSettings blogSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            StoreInformationSettings storeInformationSettings, CaptchaSettings captchaSettings)
        {
            this._blogService = blogService;
            this._workContext = workContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;

            this._mediaSettings = mediaSettings;
            this._blogSettings = blogSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._captchaSettings = captchaSettings;
        }
Exemple #3
0
        public BlogController(IBlogService blogService,
                              IWorkContext workContext,
                              IStoreContext storeContext,
                              IPictureService pictureService,
                              ILocalizationService localizationService,
                              ICustomerContentService customerContentService,
                              IDateTimeHelper dateTimeHelper,
                              IWorkflowMessageService workflowMessageService,
                              IWebHelper webHelper,
                              ICacheManager cacheManager,
                              ICustomerActivityService customerActivityService,
                              MediaSettings mediaSettings,
                              BlogSettings blogSettings,
                              LocalizationSettings localizationSettings,
                              CustomerSettings customerSettings,
                              CaptchaSettings captchaSettings)
        {
            this._blogService            = blogService;
            this._workContext            = workContext;
            this._storeContext           = storeContext;
            this._pictureService         = pictureService;
            this._localizationService    = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper         = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper               = webHelper;
            this._cacheManager            = cacheManager;
            this._customerActivityService = customerActivityService;

            this._mediaSettings        = mediaSettings;
            this._blogSettings         = blogSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings     = customerSettings;
            this._captchaSettings      = captchaSettings;
        }
Exemple #4
0
        public NewsController(
            ICommonServices services,
            INewsService newsService,
            IMediaService mediaService,
            ICustomerContentService customerContentService,
            IDateTimeHelper dateTimeHelper,
            IWebHelper webHelper,
            ICacheManager cacheManager,
            ICustomerActivityService customerActivityService,
            IStoreMappingService storeMappingService,
            IGenericAttributeService genericAttributeService,
            MediaSettings mediaSettings,
            NewsSettings newsSettings,
            LocalizationSettings localizationSettings,
            CustomerSettings customerSettings,
            CaptchaSettings captchaSettings)
        {
            _services                = services;
            _newsService             = newsService;
            _mediaService            = mediaService;
            _customerContentService  = customerContentService;
            _dateTimeHelper          = dateTimeHelper;
            _webHelper               = webHelper;
            _cacheManager            = cacheManager;
            _customerActivityService = customerActivityService;
            _storeMappingService     = storeMappingService;
            _genericAttributeService = genericAttributeService;

            _mediaSettings        = mediaSettings;
            _newsSettings         = newsSettings;
            _localizationSettings = localizationSettings;
            _customerSettings     = customerSettings;
            _captchaSettings      = captchaSettings;
        }
Exemple #5
0
        public NewsController(INewsService newsService,
                              IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
                              ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
                              IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
                              ICacheManager cacheManager,
                              MediaSettings mediaSettings, NewsSettings newsSettings,
                              LocalizationSettings localizationSettings, CustomerSettings customerSettings,
                              StoreInformationSettings storeInformationSettings, CaptchaSettings captchaSettings)
        {
            this._newsService            = newsService;
            this._workContext            = workContext;
            this._pictureService         = pictureService;
            this._localizationService    = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper         = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper    = webHelper;
            this._cacheManager = cacheManager;

            this._mediaSettings            = mediaSettings;
            this._newsSettings             = newsSettings;
            this._localizationSettings     = localizationSettings;
            this._customerSettings         = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._captchaSettings          = captchaSettings;
        }
        public NewsController(INewsService newsService,
			IWorkContext workContext, IStoreContext storeContext, 
			IPictureService pictureService, ILocalizationService localizationService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            ICacheManager cacheManager, ICustomerActivityService customerActivityService,
			IStoreMappingService storeMappingService,
			ILanguageService languageService,
            MediaSettings mediaSettings, NewsSettings newsSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            CaptchaSettings captchaSettings)
        {
            this._newsService = newsService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;
            this._storeMappingService = storeMappingService;
            this._languageService = languageService;

            this._mediaSettings = mediaSettings;
            this._newsSettings = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
        }
Exemple #7
0
 public NewsController(INewsService newsService,
                       IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
                       ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
                       IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
                       MediaSettings mediaSettings, NewsSettings newsSettings,
                       LocalizationSettings localizationSettings, CustomerSettings customerSettings,
                       StoreInformationSettings storeInformationSettings, MediaSettings mediaSetting, IExtraContentService extraContentService, ICacheManager cacheManager)
 {
     this._newsService            = newsService;
     this._workContext            = workContext;
     this._pictureService         = pictureService;
     this._localizationService    = localizationService;
     this._customerContentService = customerContentService;
     this._dateTimeHelper         = dateTimeHelper;
     this._workflowMessageService = workflowMessageService;
     this._webHelper                = webHelper;
     this._mediaSettings            = mediaSettings;
     this._newsSettings             = newsSettings;
     this._localizationSettings     = localizationSettings;
     this._customerSettings         = customerSettings;
     this._storeInformationSettings = storeInformationSettings;
     this._mediaSetting             = mediaSetting;
     this._extraContentService      = extraContentService;
     this._cacheManager             = EngineContext.Current.ContainerManager.Resolve <ICacheManager>("nop_cache_static");
 }
 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;
        }
 public ProductReviewController(ICustomerContentService customerContentService,
     IProductService productService, IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService, IPermissionService permissionService)
 {
     this._customerContentService = customerContentService;
     this._productService = productService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
 }
Exemple #12
0
 public ProductReviewController(ICustomerContentService customerContentService,
                                IProductService productService, IDateTimeHelper dateTimeHelper,
                                ILocalizationService localizationService, IPermissionService permissionService)
 {
     this._customerContentService = customerContentService;
     this._productService         = productService;
     this._dateTimeHelper         = dateTimeHelper;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
 }
Exemple #13
0
 public ProductReviewController(
     ICustomerContentService customerContentService,
     IProductService productService,
     IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService,
     ICustomerService customerService)
 {
     _customerContentService = customerContentService;
     _productService         = productService;
     _dateTimeHelper         = dateTimeHelper;
     _localizationService    = localizationService;
     _customerService        = customerService;
 }
Exemple #14
0
 public NewsController(INewsService newsService, ILanguageService languageService,
     IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
     ILocalizationService localizationService, IPermissionService permissionService,
     AdminAreaSettings adminAreaSettings)
 {
     this._newsService = newsService;
     this._languageService = languageService;
     this._dateTimeHelper = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
 }
Exemple #15
0
 public NewsController(INewsService newsService, ILanguageService languageService,
                       IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
                       ILocalizationService localizationService, IPermissionService permissionService,
                       AdminAreaSettings adminAreaSettings)
 {
     this._newsService            = newsService;
     this._languageService        = languageService;
     this._dateTimeHelper         = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._adminAreaSettings      = adminAreaSettings;
 }
Exemple #16
0
 public BlogController(IBlogService blogService, ILanguageService languageService,
     IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
     ILocalizationService localizationService, IPermissionService permissionService,
     IUrlRecordService urlRecordService, AdminAreaSettings adminAreaSettings)
 {
     this._blogService = blogService;
     this._languageService = languageService;
     this._dateTimeHelper = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._adminAreaSettings = adminAreaSettings;
 }
 public BlogController(IBlogService blogService, ILanguageService languageService,
                       IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
                       ILocalizationService localizationService, IPermissionService permissionService,
                       IUrlRecordService urlRecordService, AdminAreaSettings adminAreaSettings)
 {
     this._blogService            = blogService;
     this._languageService        = languageService;
     this._dateTimeHelper         = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._urlRecordService       = urlRecordService;
     this._adminAreaSettings      = adminAreaSettings;
 }
 public NewsController(INewsService newsService, ILanguageService languageService,
     IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
     ILocalizationService localizationService, IPermissionService permissionService,
     IUrlRecordService urlRecordService, IStoreService storeService, IStoreMappingService storeMappingService)
 {
     this._newsService = newsService;
     this._languageService = languageService;
     this._dateTimeHelper = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
 }
Exemple #19
0
 public NewsController(INewsService newsService, ILanguageService languageService,
                       IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
                       ILocalizationService localizationService, IPermissionService permissionService,
                       IUrlRecordService urlRecordService, IStoreService storeService, IStoreMappingService storeMappingService)
 {
     this._newsService            = newsService;
     this._languageService        = languageService;
     this._dateTimeHelper         = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._urlRecordService       = urlRecordService;
     this._storeService           = storeService;
     this._storeMappingService    = storeMappingService;
 }
Exemple #20
0
 public BlogController(IBlogService blogService, ILanguageService languageService,
                       IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
                       ILocalizationService localizationService, IUrlRecordService urlRecordService,
                       IStoreService storeService, IStoreMappingService storeMappingService,
                       ICustomerService customerService)
 {
     this._blogService            = blogService;
     this._languageService        = languageService;
     this._dateTimeHelper         = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService    = localizationService;
     this._urlRecordService       = urlRecordService;
     this._storeService           = storeService;
     this._storeMappingService    = storeMappingService;
     this._customerService        = customerService;
 }
        private readonly IWorkContext _workContext; //add by hz

        #endregion Fields

        #region Constructors

        public ProductReviewController(ICustomerContentService customerContentService,
            IProductService productService, IDateTimeHelper dateTimeHelper,
            ILocalizationService localizationService, IPermissionService permissionService
            ,IWorkContext workContext//add by hz
            , IVendorService vendorService//add by hz
            ,IRepository<ProductVendor> productVendorRepository
            )
        {
            this._customerContentService = customerContentService;
            this._productService = productService;
            this._dateTimeHelper = dateTimeHelper;
            this._localizationService = localizationService;
            this._permissionService = permissionService;
            this._workContext = workContext;
            this._vendorService = vendorService;//add by hz
            customerVendorId = _vendorService.GetVendorIdByCustomerId(_workContext.CurrentCustomer.Id);//add by hz
            _productVendorRepository = productVendorRepository;
        }
Exemple #22
0
 public NewsController(
     INewsService newsService,
     ILanguageService languageService,
     IDateTimeHelper dateTimeHelper,
     ICustomerContentService customerContentService,
     IUrlRecordService urlRecordService,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     ICustomerService customerService)
 {
     _newsService            = newsService;
     _languageService        = languageService;
     _dateTimeHelper         = dateTimeHelper;
     _customerContentService = customerContentService;
     _urlRecordService       = urlRecordService;
     _storeService           = storeService;
     _storeMappingService    = storeMappingService;
     _customerService        = customerService;
 }
        public BlogController(IBlogService blogService,
                              IWorkContext workContext,
                              IStoreContext storeContext,
                              IPictureService pictureService,
                              ILocalizationService localizationService,
                              ICustomerContentService customerContentService,
                              IDateTimeHelper dateTimeHelper,
                              IWebHelper webHelper,
                              ICacheManager cacheManager,
                              ICustomerActivityService customerActivityService,
                              IStoreMappingService storeMappingService,
                              ILanguageService languageService,
                              IGenericAttributeService genericAttributeService,
                              MediaSettings mediaSettings,
                              BlogSettings blogSettings,
                              LocalizationSettings localizationSettings,
                              CustomerSettings customerSettings,
                              CaptchaSettings captchaSettings,
                              SeoSettings seoSettings)
        {
            _blogService            = blogService;
            _workContext            = workContext;
            _storeContext           = storeContext;
            _pictureService         = pictureService;
            _localizationService    = localizationService;
            _customerContentService = customerContentService;
            _dateTimeHelper         = dateTimeHelper;
            _webHelper               = webHelper;
            _cacheManager            = cacheManager;
            _customerActivityService = customerActivityService;
            _storeMappingService     = storeMappingService;
            _languageService         = languageService;
            _genericAttributeService = genericAttributeService;

            _mediaSettings        = mediaSettings;
            _blogSettings         = blogSettings;
            _localizationSettings = localizationSettings;
            _customerSettings     = customerSettings;
            _captchaSettings      = captchaSettings;
            _seoSettings          = seoSettings;
        }
Exemple #24
0
 public NewsController(INewsService newsService, ILanguageService languageService,
                       IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
                       ILocalizationService localizationService, IPermissionService permissionService,
                       AdminAreaSettings adminAreaSettings, IPictureService pictureService,
                       ICategoryService categoryService, IManufacturerService manufacturerService,
                       IProductService productService, IWorkContext workContext, IExtraContentService extraContentService)
 {
     this._newsService            = newsService;
     this._languageService        = languageService;
     this._dateTimeHelper         = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._adminAreaSettings      = adminAreaSettings;
     this._pictureService         = pictureService;
     this._productService         = productService;
     this._workContext            = workContext;
     this._categoryService        = categoryService;
     this._manufacturerService    = manufacturerService;
     this._extraContentService    = extraContentService;
 }
        public BlogController(
            ICommonServices services,
            IBlogService blogService,
            IMediaService mediaService,
            ICustomerContentService customerContentService,
            IDateTimeHelper dateTimeHelper,
            IWebHelper webHelper,
            ICacheManager cacheManager,
            ICustomerActivityService customerActivityService,
            IStoreMappingService storeMappingService,
            IGenericAttributeService genericAttributeService,
            IPageAssetsBuilder pageAssetsBuilder,
            MediaSettings mediaSettings,
            BlogSettings blogSettings,
            LocalizationSettings localizationSettings,
            CustomerSettings customerSettings,
            CaptchaSettings captchaSettings,
            SeoSettings seoSettings)
        {
            _services                = services;
            _blogService             = blogService;
            _mediaService            = mediaService;
            _customerContentService  = customerContentService;
            _dateTimeHelper          = dateTimeHelper;
            _webHelper               = webHelper;
            _cacheManager            = cacheManager;
            _customerActivityService = customerActivityService;
            _storeMappingService     = storeMappingService;
            _genericAttributeService = genericAttributeService;
            _pageAssetsBuilder       = pageAssetsBuilder;

            _mediaSettings        = mediaSettings;
            _blogSettings         = blogSettings;
            _localizationSettings = localizationSettings;
            _customerSettings     = customerSettings;
            _captchaSettings      = captchaSettings;
            _seoSettings          = seoSettings;
        }
Exemple #26
0
        public BlogController(IBlogService blogService,
                              IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
                              ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
                              IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
                              MediaSettings mediaSettings, BlogSettings blogSettings,
                              LocalizationSettings localizationSettings, CustomerSettings customerSettings,
                              StoreInformationSettings storeInformationSettings)
        {
            this._blogService            = blogService;
            this._workContext            = workContext;
            this._pictureService         = pictureService;
            this._localizationService    = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper         = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;

            this._mediaSettings            = mediaSettings;
            this._blogSettings             = blogSettings;
            this._localizationSettings     = localizationSettings;
            this._customerSettings         = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
        }
Exemple #27
0
        public NewsController(INewsService newsService, 
            IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            MediaSettings mediaSettings, NewsSettings newsSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            StoreInformationSettings storeInformationSettings)
        {
            this._newsService = newsService;
            this._workContext = workContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;

            this._mediaSettings = mediaSettings;
            this._newsSettings = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
        }
Exemple #28
0
 public NewsController(
     INewsService newsService,
     ILanguageService languageService,
     IDateTimeHelper dateTimeHelper,
     ICustomerContentService customerContentService,
     ILocalizedEntityService localizedEntityService,
     IUrlRecordService urlRecordService,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     ICustomerService customerService,
     AdminAreaSettings adminAreaSettings)
 {
     _newsService            = newsService;
     _languageService        = languageService;
     _dateTimeHelper         = dateTimeHelper;
     _customerContentService = customerContentService;
     _localizedEntityService = localizedEntityService;
     _urlRecordService       = urlRecordService;
     _storeService           = storeService;
     _storeMappingService    = storeMappingService;
     _customerService        = customerService;
     _adminAreaSettings      = adminAreaSettings;
 }
Exemple #29
0
        public NewsController(INewsService newsService,
                              IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
                              ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
                              IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
                              ICacheManager cacheManager, ICustomerActivityService customerActivityService,
                              MediaSettings mediaSettings, NewsSettings newsSettings,
                              LocalizationSettings localizationSettings, CustomerSettings customerSettings,
                              StoreInformationSettings storeInformationSettings, CaptchaSettings captchaSettings,
                              ILanguageService languageService,
                              IUrlRecordService urlRecordService,
                              IGenericAttributeService genericAttributeService,
                              ICompanyInformationService companyInformationService,
                              ISettingService settingService)
        {
            this._newsService            = newsService;
            this._workContext            = workContext;
            this._pictureService         = pictureService;
            this._localizationService    = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper         = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper               = webHelper;
            this._cacheManager            = cacheManager;
            this._customerActivityService = customerActivityService;

            this._mediaSettings             = mediaSettings;
            this._newsSettings              = newsSettings;
            this._localizationSettings      = localizationSettings;
            this._customerSettings          = customerSettings;
            this._storeInformationSettings  = storeInformationSettings;
            this._captchaSettings           = captchaSettings;
            this._languageService           = languageService;
            this._urlRecordService          = urlRecordService;
            this._genericAttributeService   = genericAttributeService;
            this._companyInformationService = companyInformationService;
            this._settingService            = settingService;
        }
Exemple #30
0
 public NewsController(INewsService newsService, ILanguageService languageService,
                       IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
                       ILocalizationService localizationService, IPermissionService permissionService,
                       IUrlRecordService urlRecordService, AdminAreaSettings adminAreaSettings,
                       IGenericAttributeService genericAttributeService,
                       ICustomerService customerService,
                       IWorkContext workContext,
                       INewPublicationEmailSender newPublicationEmailSender,
                       StoreInformationSettings storeInformationSettings)
 {
     this._newsService               = newsService;
     this._languageService           = languageService;
     this._dateTimeHelper            = dateTimeHelper;
     this._customerContentService    = customerContentService;
     this._localizationService       = localizationService;
     this._permissionService         = permissionService;
     this._urlRecordService          = urlRecordService;
     this._adminAreaSettings         = adminAreaSettings;
     this._genericAttributeService   = genericAttributeService;
     this._customerService           = customerService;
     this._workContext               = workContext;
     this._newPublicationEmailSender = newPublicationEmailSender;
     this._storeInformationSettings  = storeInformationSettings;
 }
Exemple #31
0
 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,
     SeoSettings seoSettings,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CaptchaSettings captchaSettings,
     CatalogHelper helper,
     IDownloadService downloadService,
     ILocalizationService localizationService,
     IBreadcrumb breadcrumb)
 {
     _services                       = services;
     _manufacturerService            = manufacturerService;
     _productService                 = productService;
     _productAttributeService        = productAttributeService;
     _productAttributeParser         = productAttributeParser;
     _taxService                     = taxService;
     _currencyService                = currencyService;
     _pictureService                 = pictureService;
     _priceCalculationService        = priceCalculationService;
     _priceFormatter                 = priceFormatter;
     _customerContentService         = customerContentService;
     _customerService                = customerService;
     _shoppingCartService            = shoppingCartService;
     _recentlyViewedProductsService  = recentlyViewedProductsService;
     _workflowMessageService         = workflowMessageService;
     _productTagService              = productTagService;
     _orderReportService             = orderReportService;
     _backInStockSubscriptionService = backInStockSubscriptionService;
     _aclService                     = aclService;
     _storeMappingService            = storeMappingService;
     _mediaSettings                  = mediaSettings;
     _seoSettings                    = seoSettings;
     _catalogSettings                = catalogSettings;
     _shoppingCartSettings           = shoppingCartSettings;
     _localizationSettings           = localizationSettings;
     _captchaSettings                = captchaSettings;
     _helper              = helper;
     _downloadService     = downloadService;
     _localizationService = localizationService;
     _breadcrumb          = breadcrumb;
 }
        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;
        }
Exemple #33
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;
        }
 public ProductReviewCountRule(ICustomerContentService customerContentService)
 {
     _customerContentService = customerContentService;
 }