public WidgetsProductVideoViewComponent(IStoreContext storeContext,
                                         IStaticCacheManager cacheManager,
                                         ISettingService settingService,
                                         IPictureService pictureService,
                                         ILogger logger,
                                         IProductService productService,
                                         IProductMessageRecordService productMessageRecordService,
                                         MediaSettings mediaSettings)
 {
     this._storeContext   = storeContext;
     this._cacheManager   = cacheManager;
     this._settingService = settingService;
     this._pictureService = pictureService;
     _logger         = logger;
     _productService = productService;
     _productMessageRecordService = productMessageRecordService;
     _mediaSettings = mediaSettings;
 }
Пример #2
0
        public ProductMessageController(IProductMessageRecordService productMessageRecordService,
                                        IProductService productService,
                                        ICurrencyService currencyService,
                                        ILocalizationService localizationService,
                                        IPluginFinder pluginFinder,
                                        ILogger logger,
                                        IWebHelper webHelper,
                                        IStoreService storeService,
                                        ISettingService settingService,
                                        IPermissionService permissionService,
                                        IPictureService pictureService,
                                        IVendorService vendorService,
                                        ICategoryService categoryService,
                                        IManufacturerService manufacturerService,
                                        IWorkContext workContext,
                                        IShippingService shippingService,
                                        IProductAttributeService productAttributeService,
                                        ICustomerService customerService,
                                        CustomerSettings customerSettings, MediaSettings mediaSettings)
        {
            this._productMessageRecordService = productMessageRecordService;
            this._productService      = productService;
            this._currencyService     = currencyService;
            this._localizationService = localizationService;
            this._pluginFinder        = pluginFinder;
            this._logger            = logger;
            this._webHelper         = webHelper;
            this._storeService      = storeService;
            this._settingService    = settingService;
            this._permissionService = permissionService;
            this._pictureService    = pictureService;

            this._categoryService         = categoryService;
            this._vendorService           = vendorService;
            this._manufacturerService     = manufacturerService;
            this._workContext             = workContext;
            this._shippingService         = shippingService;
            this._productAttributeService = productAttributeService;
            this._customerService         = customerService;
            this._customerSettings        = customerSettings;
            _mediaSettings = mediaSettings;
        }