static Task<Uri> AddToCatalog(JObject nuspec, Uri itemType, PublicationDetails publicationDetails, bool isListed) { CatalogItem catalogItem = new GraphCatalogItem(nuspec, itemType, publicationDetails, isListed); return CatalogHelpers.AddToCatalog(catalogItem, Configuration.StoragePrimary, Configuration.StorageContainerCatalog, Configuration.CatalogBaseAddress); }
static Task<Uri> AddToCatalog(JObject nuspec, Uri itemType, PublicationDetails publicationDetails, bool isListed, CancellationToken cancellationToken) { CatalogItem catalogItem = new GraphCatalogItem(nuspec, itemType, publicationDetails, isListed); return CatalogHelpers.AddToCatalog(catalogItem, Configuration.StoragePrimary, Configuration.StorageContainerCatalog, Configuration.CatalogBaseAddress, cancellationToken); }