Property | Type | Description | |
---|---|---|---|
_batch | List |
||
_open | bool |
Method | 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 |
Method | 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 |
Method | 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 | |
return | 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 | |
return | Newtonsoft.Json.Linq |
protected CheckScheme ( |
||
resourceUri | ||
graph | IGraph | |
return | void |
public Commit ( DateTime commitTimeStamp, IGraph commitMetadata, CancellationToken cancellationToken ) : Task |
||
commitTimeStamp | DateTime | |
commitMetadata | IGraph | |
cancellationToken | CancellationToken | |
return | Task |
public Commit ( IGraph commitMetadata, CancellationToken cancellationToken ) : Task |
||
commitMetadata | IGraph | |
cancellationToken | CancellationToken | |
return | Task |
protected CreateIndexContent ( IGraph graph, Uri type ) : StorageContent | ||
graph | IGraph | |
type | Uri | |
return | StorageContent |
protected CreatePageUri ( Uri baseAddress, string relativeAddress ) : Uri | ||
baseAddress | Uri | |
relativeAddress | string | |
return | Uri |
protected CreateSaveOperationForItem ( IStorage storage, CatalogContext context, CatalogItem item, CancellationToken cancellationToken ) : ResourceSaveOperation | ||
storage | IStorage | |
context | CatalogContext | |
item | CatalogItem | |
cancellationToken | CancellationToken | |
return | ResourceSaveOperation |
protected LoadIndexResource ( Uri resourceUri, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task |
||
resourceUri | Uri | |
cancellationToken | CancellationToken | |
return | 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 | |
return | Task |
protected abstract SavePages ( Guid commitId, DateTime commitTimeStamp, CatalogItemSummary>.IDictionary |
||
commitId | Guid | |
commitTimeStamp | DateTime | |
itemEntries | CatalogItemSummary>.IDictionary | |
cancellationToken | CancellationToken | |
return | CatalogItemSummary>>.Task |