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

Inheritance: CommitCollector
Afficher le fichier Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

Method Details

DnxCatalogCollector() public méthode

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
Résultat System

OnProcessBatch() protected méthode

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
Résultat Task