C# 클래스 NuGet.Services.Metadata.Catalog.RegistrationCatalogWriter

상속: CatalogWriterBase
파일 보기 프로젝트 열기: NuGet/NuGet.Services.Metadata 1 사용 예제들

공개 메소드들

메소드 설명
RegistrationCatalogWriter ( Storage storage, int partitionSize = 100, IList cleanUpList = null, ICatalogGraphPersistence graphPersistence = null, NuGet.Services.Metadata.Catalog.CatalogContext context = null ) : Newtonsoft.Json.Linq

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CreateIndexContent() 보호된 메소드

protected CreateIndexContent ( IGraph graph, Uri type ) : NuGet.Services.Metadata.Catalog.Persistence.StorageContent
graph IGraph
type System.Uri
리턴 NuGet.Services.Metadata.Catalog.Persistence.StorageContent

CreateSaveOperationForItem() 보호된 메소드

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
리턴 ResourceSaveOperation

GetAdditionalRootType() 보호된 메소드

protected GetAdditionalRootType ( ) : System.Uri[]
리턴 System.Uri[]

RegistrationCatalogWriter() 공개 메소드

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
리턴 Newtonsoft.Json.Linq

SavePages() 보호된 메소드

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
리턴 CatalogItemSummary>>.Task