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

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

공개 메소드들

메소드 설명
AppendOnlyCatalogWriter ( Storage storage, int maxPageSize = 1000, bool append = true, ICatalogGraphPersistence catalogGraphPersistence = null, NuGet.Services.Metadata.Catalog.CatalogContext context = null ) : NuGet.Services.Metadata.Catalog.Persistence

보호된 메소드들

메소드 설명
GetAdditionalRootType ( ) : System.Uri[]
SavePages ( System.Guid commitId, System.DateTime commitTimeStamp, CatalogItemSummary>.IDictionary itemEntries, CancellationToken cancellationToken ) : CatalogItemSummary>>.Task

비공개 메소드들

메소드 설명
ExtractLatest ( CatalogItemSummary>.IDictionary currentPageEntries ) : Tuple
GetPageUri ( CatalogItemSummary>.IDictionary currentPageEntries, int newItemCount, bool &isExistingPage ) : Uri

메소드 상세

AppendOnlyCatalogWriter() 공개 메소드

public AppendOnlyCatalogWriter ( Storage storage, int maxPageSize = 1000, bool append = true, ICatalogGraphPersistence catalogGraphPersistence = null, NuGet.Services.Metadata.Catalog.CatalogContext context = null ) : NuGet.Services.Metadata.Catalog.Persistence
storage NuGet.Services.Metadata.Catalog.Persistence.Storage
maxPageSize int
append bool
catalogGraphPersistence ICatalogGraphPersistence
context NuGet.Services.Metadata.Catalog.CatalogContext
리턴 NuGet.Services.Metadata.Catalog.Persistence

GetAdditionalRootType() 보호된 메소드

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

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