C# Class NuGet.Services.Metadata.Catalog.RegistrationCatalogWriter

Inheritance: CatalogWriterBase
Afficher le fichier Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Méthodes publiques

Méthode Description
RegistrationCatalogWriter ( Storage storage, int partitionSize = 100, IList cleanUpList = null, ICatalogGraphPersistence graphPersistence = null, NuGet.Services.Metadata.Catalog.CatalogContext context = null ) : Newtonsoft.Json.Linq

Méthodes protégées

Méthode Description
CreateIndexContent ( IGraph graph, Uri type ) : NuGet.Services.Metadata.Catalog.Persistence.StorageContent
CreateSaveOperationForItem ( IStorage storage, NuGet.Services.Metadata.Catalog.CatalogContext context, NuGet.Services.Metadata.Catalog.CatalogItem item, CancellationToken cancellationToken ) : ResourceSaveOperation
GetAdditionalRootType ( ) : System.Uri[]
SavePages ( System.Guid commitId, System.DateTime commitTimeStamp, CatalogItemSummary>.IDictionary itemEntries, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task

Private Methods

Méthode Description
CreateExtraGraph ( Uri pageUri, string lower, string upper ) : IGraph
CreatePageSummary ( Uri newPageUri, string lower, string upper ) : IGraph
GetPackageVersion ( Uri packageUri, IGraph pageContent ) : NuGet.Versioning.NuGetVersion
PartitionAndSavePages ( System.Guid commitId, System.DateTime commitTimeStamp, CatalogItemSummary>.SortedDictionary versions, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task

Method Details

CreateIndexContent() protected méthode

protected CreateIndexContent ( IGraph graph, Uri type ) : NuGet.Services.Metadata.Catalog.Persistence.StorageContent
graph IGraph
type System.Uri
Résultat NuGet.Services.Metadata.Catalog.Persistence.StorageContent

CreateSaveOperationForItem() protected méthode

protected CreateSaveOperationForItem ( IStorage storage, NuGet.Services.Metadata.Catalog.CatalogContext context, NuGet.Services.Metadata.Catalog.CatalogItem item, CancellationToken cancellationToken ) : ResourceSaveOperation
storage IStorage
context NuGet.Services.Metadata.Catalog.CatalogContext
item NuGet.Services.Metadata.Catalog.CatalogItem
cancellationToken System.Threading.CancellationToken
Résultat ResourceSaveOperation

GetAdditionalRootType() protected méthode

protected GetAdditionalRootType ( ) : System.Uri[]
Résultat System.Uri[]

RegistrationCatalogWriter() public méthode

public RegistrationCatalogWriter ( Storage storage, int partitionSize = 100, IList cleanUpList = null, ICatalogGraphPersistence graphPersistence = null, NuGet.Services.Metadata.Catalog.CatalogContext context = null ) : Newtonsoft.Json.Linq
storage NuGet.Services.Metadata.Catalog.Persistence.Storage
partitionSize int
cleanUpList IList
graphPersistence ICatalogGraphPersistence
context NuGet.Services.Metadata.Catalog.CatalogContext
Résultat Newtonsoft.Json.Linq

SavePages() protected méthode

protected SavePages ( System.Guid commitId, System.DateTime commitTimeStamp, CatalogItemSummary>.IDictionary itemEntries, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task
commitId System.Guid
commitTimeStamp System.DateTime
itemEntries CatalogItemSummary>.IDictionary
cancellationToken System.Threading.CancellationToken
Résultat CatalogItemSummary>>.Task