Свойство | Type | Description | |
---|---|---|---|
_batch | List |
||
_open | bool |
Méthode | Description | |
---|---|---|
Add ( NuGet.Services.Metadata.Catalog.CatalogItem item ) : void | ||
CatalogWriterBase ( IStorage storage, ICatalogGraphPersistence graphPersistence = null, NuGet.Services.Metadata.Catalog.CatalogContext context = null ) : Newtonsoft.Json.Linq | ||
Commit ( DateTime commitTimeStamp, IGraph commitMetadata, CancellationToken cancellationToken ) : Task |
||
Commit ( IGraph commitMetadata, CancellationToken cancellationToken ) : Task |
||
Dispose ( ) : void |
Méthode | Description | |
---|---|---|
CheckScheme ( |
||
CreateIndexContent ( IGraph graph, Uri type ) : StorageContent | ||
CreatePageUri ( Uri baseAddress, string relativeAddress ) : Uri | ||
CreateSaveOperationForItem ( IStorage storage, CatalogContext context, CatalogItem item, CancellationToken cancellationToken ) : ResourceSaveOperation | ||
GetAdditionalRootType ( ) : Uri[] | ||
LoadIndexResource ( Uri resourceUri, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task |
||
SaveIndexResource ( Uri resourceUri, Uri typeUri, Guid commitId, DateTime commitTimeStamp, CatalogItemSummary>.IDictionary |
||
SavePages ( Guid commitId, DateTime commitTimeStamp, CatalogItemSummary>.IDictionary |
Méthode | Description | |
---|---|---|
LoadGraph ( Uri resourceUri, CancellationToken cancellationToken ) : Task |
||
SaveGraph ( Uri resourceUri, IGraph graph, Uri typeUri, CancellationToken cancellationToken ) : Task | ||
SaveItems ( Guid commitId, DateTime commitTimeStamp, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task |
||
SaveRoot ( Guid commitId, DateTime commitTimeStamp, CatalogItemSummary>.IDictionary |
public Add ( NuGet.Services.Metadata.Catalog.CatalogItem item ) : void | ||
item | NuGet.Services.Metadata.Catalog.CatalogItem | |
Résultat | void |
public CatalogWriterBase ( IStorage storage, ICatalogGraphPersistence graphPersistence = null, NuGet.Services.Metadata.Catalog.CatalogContext context = null ) : Newtonsoft.Json.Linq | ||
storage | IStorage | |
graphPersistence | ICatalogGraphPersistence | |
context | NuGet.Services.Metadata.Catalog.CatalogContext | |
Résultat | Newtonsoft.Json.Linq |
protected CheckScheme ( |
||
resourceUri | ||
graph | IGraph | |
Résultat | void |
public Commit ( DateTime commitTimeStamp, IGraph commitMetadata, CancellationToken cancellationToken ) : Task |
||
commitTimeStamp | DateTime | |
commitMetadata | IGraph | |
cancellationToken | CancellationToken | |
Résultat | Task |
public Commit ( IGraph commitMetadata, CancellationToken cancellationToken ) : Task |
||
commitMetadata | IGraph | |
cancellationToken | CancellationToken | |
Résultat | Task |
protected CreateIndexContent ( IGraph graph, Uri type ) : StorageContent | ||
graph | IGraph | |
type | Uri | |
Résultat | StorageContent |
protected CreatePageUri ( Uri baseAddress, string relativeAddress ) : Uri | ||
baseAddress | Uri | |
relativeAddress | string | |
Résultat | Uri |
protected CreateSaveOperationForItem ( IStorage storage, CatalogContext context, CatalogItem item, CancellationToken cancellationToken ) : ResourceSaveOperation | ||
storage | IStorage | |
context | CatalogContext | |
item | CatalogItem | |
cancellationToken | CancellationToken | |
Résultat | ResourceSaveOperation |
protected GetAdditionalRootType ( ) : Uri[] | ||
Résultat | Uri[] |
protected LoadIndexResource ( Uri resourceUri, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task |
||
resourceUri | Uri | |
cancellationToken | CancellationToken | |
Résultat | CatalogItemSummary>>.Task |
protected SaveIndexResource ( Uri resourceUri, Uri typeUri, Guid commitId, DateTime commitTimeStamp, CatalogItemSummary>.IDictionary |
||
resourceUri | Uri | |
typeUri | Uri | |
commitId | Guid | |
commitTimeStamp | DateTime | |
entries | CatalogItemSummary>.IDictionary | |
parent | Uri | |
extra | IGraph | |
additionalResourceTypes | Uri | |
cancellationToken | CancellationToken | |
Résultat | Task |
protected abstract SavePages ( Guid commitId, DateTime commitTimeStamp, CatalogItemSummary>.IDictionary |
||
commitId | Guid | |
commitTimeStamp | DateTime | |
itemEntries | CatalogItemSummary>.IDictionary | |
cancellationToken | CancellationToken | |
Résultat | CatalogItemSummary>>.Task |