/// <summary>
 /// Initializes a new instance of the <see cref="InitializeCatalogBlock"/> class.
 /// </summary>
 /// <param name="hostingEnvironment">The hosting environment.</param>
 /// <param name="importCatalogsCommand">The import catalogs command.</param>
 public InitializeCatalogBlock(
     IHostingEnvironment hostingEnvironment,
     ImportCatalogsCommand importCatalogsCommand)
 {
     this._hostingEnvironment    = hostingEnvironment;
     this._importCatalogsCommand = importCatalogsCommand;
 }
示例#2
0
 public InitializeCatalogBlock(IHostingEnvironment hostingEnvironment, ImportCatalogsCommand importCatalogsCommand, CommerceCommander commerceCommander)
 {
     _hostingEnvironment    = hostingEnvironment;
     _importCatalogsCommand = importCatalogsCommand;
     _commerceCommander     = commerceCommander;
 }