C# Class NuGet.Services.Metadata.Catalog.Dnx.DnxCatalogCollector

Inheritance: CommitCollector
Exibir arquivo Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Public Methods

Method Description
DnxCatalogCollector ( Uri index, NuGet.Services.Metadata.Catalog.Persistence.StorageFactory storageFactory, Func handlerFunc = null ) : System

Protected Methods

Method Description
OnProcessBatch ( CollectorHttpClient client, IEnumerable items, JToken context, System.DateTime commitTimeStamp, bool isLastBatch, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
GetNuspec ( Stream stream, string id ) : string
LoadNuspec ( HttpClient client, string id, string version, CancellationToken cancellationToken ) : Task

Method Details

DnxCatalogCollector() public method

public DnxCatalogCollector ( Uri index, NuGet.Services.Metadata.Catalog.Persistence.StorageFactory storageFactory, Func handlerFunc = null ) : System
index System.Uri
storageFactory NuGet.Services.Metadata.Catalog.Persistence.StorageFactory
handlerFunc Func
return System

OnProcessBatch() protected method

protected OnProcessBatch ( CollectorHttpClient client, IEnumerable items, JToken context, System.DateTime commitTimeStamp, bool isLastBatch, CancellationToken cancellationToken ) : Task
client CollectorHttpClient
items IEnumerable
context JToken
commitTimeStamp System.DateTime
isLastBatch bool
cancellationToken System.Threading.CancellationToken
return Task