/// <summary>
 /// Initializes a new instance of the <see cref="CategoryChangeBulkAction"/> class.
 /// </summary>
 /// <param name="lazyServiceProvider">
 /// The service provider.
 /// </param>
 /// <param name="context">
 /// The context.
 /// </param>
 public CategoryChangeBulkAction(
     CategoryChangeBulkActionContext context,
     ICatalogService catalogService,
     ListEntryMover <Category> categoryListEntryMover,
     ListEntryMover <CatalogProduct> productListEntryMover)
 {
     _context                = context ?? throw new ArgumentNullException(nameof(context));
     _catalogService         = catalogService;
     _categoryListEntryMover = categoryListEntryMover;
     _productListEntryMover  = productListEntryMover;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CatalogBulkActionFactory"/> class.
 /// </summary>
 public CatalogBulkActionFactory(ICatalogService catalogService,
                                 IItemService itemService,
                                 IBulkPropertyUpdateManager bulkPropertyUpdateManager,
                                 ListEntryMover <Category> categoryListEntryMover,
                                 ListEntryMover <CatalogProduct> productListEntryMover)
 {
     _catalogService            = catalogService;
     _itemService               = itemService;
     _bulkPropertyUpdateManager = bulkPropertyUpdateManager;
     _categoryListEntryMover    = categoryListEntryMover;
     _productListEntryMover     = productListEntryMover;
 }
 public CatalogModuleListEntryController(
     ICatalogSearchService searchService,
     ICategoryService categoryService,
     IItemService itemService,
     IBlobUrlResolver blobUrlResolver,
     ISecurityService securityService,
     IPermissionScopeService permissionScopeService,
     ICatalogService catalogService,
     IListEntrySearchService listEntrySearchService,
     ListEntryMover <coreModel.Category> categoryMover,
     ListEntryMover <coreModel.CatalogProduct> productMover)
     : base(securityService, permissionScopeService)
 {
     _searchService          = searchService;
     _categoryService        = categoryService;
     _itemService            = itemService;
     _catalogService         = catalogService;
     _listEntrySearchService = listEntrySearchService;
     _categoryMover          = categoryMover;
     _productMover           = productMover;
 }
Esempio n. 4
0
 public CatalogModuleListEntryController(
     IProductIndexedSearchService productIndexedSearchService,
     ICategoryIndexedSearchService categoryIndexedSearchService,
     IListEntrySearchService listEntrySearchService,
     ICategoryService categoryService,
     IItemService itemService,
     ICatalogService catalogService,
     IAuthorizationService authorizationService,
     ISettingsManager settingsManager,
     ListEntryMover <Category> categoryMover,
     ListEntryMover <CatalogProduct> productMover)
 {
     _productIndexedSearchService  = productIndexedSearchService;
     _categoryIndexedSearchService = categoryIndexedSearchService;
     _categoryService        = categoryService;
     _authorizationService   = authorizationService;
     _itemService            = itemService;
     _catalogService         = catalogService;
     _listEntrySearchService = listEntrySearchService;
     _settingsManager        = settingsManager;
     _categoryMover          = categoryMover;
     _productMover           = productMover;
 }