Пример #1
0
 public CategoryController(IAclService aclService,
                           ICategoryModelFactory categoryModelFactory,
                           ICategoryService categoryService,
                           ICustomerActivityService customerActivityService,
                           ICustomerService customerService,
                           IExportManager exportManager,
                           IImportManager importManager,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           IStoreMappingService storeMappingService,
                           IStoreService storeService,
                           IUrlRecordService urlRecordService,
                           IWorkContext workContext)
 {
     this._aclService              = aclService;
     this._categoryModelFactory    = categoryModelFactory;
     this._categoryService         = categoryService;
     this._customerActivityService = customerActivityService;
     this._customerService         = customerService;
     this._exportManager           = exportManager;
     this._importManager           = importManager;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._permissionService       = permissionService;
     this._pictureService          = pictureService;
     this._storeMappingService     = storeMappingService;
     this._storeService            = storeService;
     this._urlRecordService        = urlRecordService;
     this._workContext             = workContext;
 }
Пример #2
0
 public WidgetsProductPictureModifierController(
     IPermissionService permissionService,
     IProductPictureModifierService productPictureModifierService,
     IProductAttributeService productAttributeService,
     IProductService productService,
     ILocalizationService localizationService,
     ICategoryModelFactory categoryModelFactory,
     IPictureService pictureService,
     ICustomLogoService logoService,
     IProductAttributeParser productAttributeParser,
     ISettingService settingService,
     MediaSettings mediaSettings,
     ILogoPositionService logoPositionService,
     IStaticCacheManager cacheManager)
 {
     _permissionService             = permissionService;
     _productPictureModifierService = productPictureModifierService;
     _productAttributeService       = productAttributeService;
     _productService         = productService;
     _localizationService    = localizationService;
     _categoryModelFactory   = categoryModelFactory;
     _pictureService         = pictureService;
     _logoService            = logoService;
     _productAttributeParser = productAttributeParser;
     _settingService         = settingService;
     _mediaSettings          = mediaSettings;
     _logoPositionService    = logoPositionService;
     _cacheManager           = cacheManager;
 }
Пример #3
0
 public CategoryController(ICategoryService categoryService,
                           ICategoryModelFactory categoryModelFactory,
                           IUrlRecordService urlRecordService)
 {
     this._categoryService = categoryService;
     _catalogModelFactory  = categoryModelFactory;
     _urlRecordService     = urlRecordService;
 }
Пример #4
0
 public AdminController(
     IProductModelFactory productModelFactory,
     IProductService productService,
     ICategoryService categoryService,
     ICategoryModelFactory categoryModelFactory)
 {
     _categoryService      = categoryService;
     _productService       = productService;
     _productModelFactory  = productModelFactory;
     _categoryModelFactory = categoryModelFactory;
 }
        // custom code end

        #endregion

        #region Ctor

        public CategoryController(IAclService aclService,
                                  ICacheKeyService cacheKeyService,
                                  ICategoryModelFactory categoryModelFactory,
                                  ICategoryService categoryService,
                                  ICustomerActivityService customerActivityService,
                                  ICustomerService customerService,
                                  IDiscountService discountService,
                                  IExportManager exportManager,
                                  IImportManager importManager,
                                  ILocalizationService localizationService,
                                  ILocalizedEntityService localizedEntityService,
                                  INotificationService notificationService,
                                  IPermissionService permissionService,
                                  IPictureService pictureService,
                                  IProductService productService,
                                  IStaticCacheManager staticCacheManager,
                                  IStoreMappingService storeMappingService,
                                  IStoreService storeService,
                                  IUrlRecordService urlRecordService,
                                  IWorkContext workContext,
                                  // custom code start
                                  ITirePriceModelFactory tirePriceModelFactory,
                                  ITierpriceService tierpriceService
                                  // custom code end
                                  )
        {
            _aclService              = aclService;
            _cacheKeyService         = cacheKeyService;
            _categoryModelFactory    = categoryModelFactory;
            _categoryService         = categoryService;
            _customerActivityService = customerActivityService;
            _customerService         = customerService;
            _discountService         = discountService;
            _exportManager           = exportManager;
            _importManager           = importManager;
            _localizationService     = localizationService;
            _localizedEntityService  = localizedEntityService;
            _notificationService     = notificationService;
            _permissionService       = permissionService;
            _pictureService          = pictureService;
            _productService          = productService;
            _staticCacheManager      = staticCacheManager;
            _storeMappingService     = storeMappingService;
            _storeService            = storeService;
            _urlRecordService        = urlRecordService;
            _workContext             = workContext;
            // custom code start
            _tirePriceModelFactory = tirePriceModelFactory;
            _tierpriceService      = tierpriceService;
            // custom code end
        }
Пример #6
0
 public CategoryController(ICategoryModelFactory categoryModelFactory,
                           ICategoryService categoryService,
                           IQuestionService questionService,
                           INotificationService notificationService,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           IWorkContext workContext)
 {
     _categoryModelFactory = categoryModelFactory;
     _categoryService      = categoryService;
     _questionService      = questionService;
     _notificationService  = notificationService;
     _permissionService    = permissionService;
     _pictureService       = pictureService;
     _workContext          = workContext;
 }
Пример #7
0
 public CategoryController(
     ICategoryModelFactory categoryModelFactory,
     ICategoryService categoryService,
     ICustomerActivityService customerActivityService,
     ICustomerService customerService,
     IPictureService pictureService,
     IStoreService storeService,
     IUrlRecordService urlRecordService,
     IAuthorizationService authorizationService,
     UserManager <ApplicationUser> userManager
     )
 {
     this._categoryModelFactory    = categoryModelFactory;
     this._categoryService         = categoryService;
     this._customerActivityService = customerActivityService;
     _customerService           = customerService;
     this._urlRecordService     = urlRecordService;
     this._authorizationService = authorizationService;
     this._userManager          = userManager;
 }
Пример #8
0
 public ProductController
     (
         ICategoryService categoryService,
         ICategoryModelFactory categoryModelFactory,
         IProductModelFactory productModelFactory,
         IProductService productService,
         IFileService fileService,
         ICacheService cacheService,
         IUserService userService,
         IRoleService roleService
     )
 {
     _categoryService = categoryService;
     _categoryModelFactory = categoryModelFactory;
     _productModelFactory = productModelFactory;
     _productService = productService;
     _fileService = fileService;
     _cacheService = cacheService;
     _userService = userService;
     _roleService = roleService;
 }
Пример #9
0
 public BookNodeFactory(
     CaptchaSettings captchaSettings
     , CustomerSettings customerSettings
     , IAiBookService aiBookService
     , ICustomerService customerService
     , IDateTimeHelper dateTimeHelper
     , IGenericAttributeService genericAttributeService
     , IPictureService pictureService
     , IStaticCacheManager cacheManager
     , IStoreContext storeContext
     , IWorkContext workContext
     , ICategoryModelFactory categoryModelFactory
     , IBaseAdminModelFactory baseAdminModelFactory
     , MediaSettings mediaSettings
     , IProductService productService
     , IBookDirFactory bookdirFactory
     , IBookDirService bookdirService
     , ILocalizationService localizationService
     , ILocalizedModelFactory localizedModelFactory
     )
 {
     _captchaSettings         = captchaSettings;
     _customerSettings        = customerSettings;
     _aiBookService           = aiBookService;
     _customerService         = customerService;
     _dateTimeHelper          = dateTimeHelper;
     _genericAttributeService = genericAttributeService;
     _pictureService          = pictureService;
     _cacheManager            = cacheManager;
     _storeContext            = storeContext;
     _workContext             = workContext;
     _mediaSettings           = mediaSettings;
     _categoryModelFactory    = categoryModelFactory;
     _baseAdminModelFactory   = baseAdminModelFactory;
     _bookDirFactory          = bookdirFactory;
     _bookdirService          = bookdirService;
     _localizationService     = localizationService;
     _productService          = productService;
     _localizedModelFactory   = localizedModelFactory;
 }
Пример #10
0
 public CategoryListViewComponent(ICategoryModelFactory categoryModelFactory)
 {
     _categoryModelFactory = categoryModelFactory;
 }
Пример #11
0
 public CategoryController(ICategoryService categoryService, ICategoryModelFactory categoryModelFactory)
 {
     this.CategoryService      = categoryService ?? throw new ArgumentNullException(nameof(categoryService));
     this.CategoryModelFactory = categoryModelFactory ?? throw new ArgumentNullException(nameof(categoryModelFactory));
 }