public ProductVideoController(IProductVideoRecordService productVideoRecordService,
                                      IProductService productService,
                                      ICurrencyService currencyService,
                                      ILocalizationService localizationService,
                                      IPluginFinder pluginFinder,
                                      ILogger logger,
                                      IWebHelper webHelper,
                                      IStoreService storeService,
                                      ProductVideoSettings productVideoSettings,
                                      ISettingService settingService,
                                      IPermissionService permissionService,
                                      IPictureService pictureService,
                                      IVendorService vendorService,
                                      ICategoryService categoryService,
                                      IManufacturerService manufacturerService,
                                      IWorkContext workContext,
                                      IShippingService shippingService,
                                      IProductAttributeService productAttributeService,
                                      ICustomerService customerService,
                                      CustomerSettings customerSettings,
                                      MediaSettings mediaSettings,
                                      IProductModelFactory productModelFactory)
        {
            this._productVideoRecordService = productVideoRecordService;
            this._productService            = productService;
            this._currencyService           = currencyService;
            this._localizationService       = localizationService;
            this._pluginFinder         = pluginFinder;
            this._logger               = logger;
            this._webHelper            = webHelper;
            this._storeService         = storeService;
            this._productVideoSettings = productVideoSettings;
            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;
            _productModelFactory = productModelFactory;
        }
Ejemplo n.º 2
0
 public WidgetsProductVideoViewComponent(IStoreContext storeContext,
                                         IStaticCacheManager cacheManager,
                                         ISettingService settingService,
                                         IPictureService pictureService,
                                         ILogger logger,
                                         IProductService productService,
                                         IProductVideoRecordService productVideoRecordService,
                                         MediaSettings mediaSettings)
 {
     this._storeContext   = storeContext;
     this._cacheManager   = cacheManager;
     this._settingService = settingService;
     this._pictureService = pictureService;
     _logger                    = logger;
     _productService            = productService;
     _productVideoRecordService = productVideoRecordService;
     _mediaSettings             = mediaSettings;
 }