public ImportSellableItemsCommand(IIMportSellableItemsPipeline pipeline, IServiceProvider serviceProvider, FindEntityCommand findEntityCommand, GetCatalogCommand getCatalogCommand, CreateCatalogCommand createCatalogCommand, IPersistEntityPipeline persistPipeline) : base(serviceProvider)
 {
     this._pipeline        = pipeline;
     _findEntityCommand    = findEntityCommand;
     _getCatalogCommand    = getCatalogCommand;
     _createCatalogCommand = createCatalogCommand;
     _persistPipeline      = persistPipeline;
 }
Esempio n. 2
0
 /// <summary>
 /// c'tor
 /// </summary>
 /// <param name="getCatalogCommand">getCatalogCommand</param>
 /// <param name="createCatalogCommand">Create Catalog Command</param>
 /// <param name="editCatalogCommand">Edit Catalog Command</param>
 /// <param name="associateCatalogToPromotionBookCommand">associateCatalogToPromotionBookCommand</param>
 /// <param name="associateCatalogToPriceBookCommand">associateCatalogToPriceBookCommand</param>
 /// <param name="doesEntityExistPipeline">doesEntityExistPipeline</param>
 /// <param name="findEntityCommand">findEntityCommand</param>
 /// <param name="associateCatalogToInventorySetCommand">associateCatalogToInventorySetCommand</param>
 /// <param name="disassociateCatalogFromPromotionBookCommand">disassociateCatalogFromPromotionBookCommand</param>
 /// <param name="disassociateCatalogFromPriceBookCommand">disassociateCatalogFromPriceBookCommand</param>
 /// <param name="disassociateCatalogFromInventorySetCommand">DisassociateCatalogFromInventorySetCommand</param>
 public CatalogImporter(
     GetCatalogCommand getCatalogCommand,
     CreateCatalogCommand createCatalogCommand,
     EditCatalogCommand editCatalogCommand,
     Sitecore.Commerce.Plugin.Promotions.AssociateCatalogToBookCommand associateCatalogToPromotionBookCommand,
     Sitecore.Commerce.Plugin.Pricing.AssociateCatalogToBookCommand associateCatalogToPriceBookCommand,
     FindEntityCommand findEntityCommand,
     AssociateCatalogToInventorySetCommand associateCatalogToInventorySetCommand,
     Sitecore.Commerce.Plugin.Promotions.DisassociateCatalogFromBookCommand disassociateCatalogFromPromotionBookCommand,
     Sitecore.Commerce.Plugin.Pricing.DisassociateCatalogFromBookCommand disassociateCatalogFromPriceBookCommand,
     DisassociateCatalogFromInventorySetCommand disassociateCatalogFromInventorySetCommand)
 {
     _getCatalogCommand    = getCatalogCommand;
     _createCatalogCommand = createCatalogCommand;
     _editCatalogCommand   = editCatalogCommand;
     _associateCatalogToPromotionBookCommand = associateCatalogToPromotionBookCommand;
     _associateCatalogToPriceBookCommand     = associateCatalogToPriceBookCommand;
     _findEntityCommand = findEntityCommand;
     _associateCatalogToInventorySetCommand       = associateCatalogToInventorySetCommand;
     _disassociateCatalogFromPromotionBookCommand = disassociateCatalogFromPromotionBookCommand;
     _disassociateCatalogFromPriceBookCommand     = disassociateCatalogFromPriceBookCommand;
     _disassociateCatalogFromInventorySetCommand  = disassociateCatalogFromInventorySetCommand;
 }