C# Class Microsoft.PackageManagement.NuGetProvider.HttpClientPackageRepository

Package repository for downloading data from remote galleries
Inheritance: IPackageRepository
Afficher le fichier Open project: OneGet/NuGetProvider

Méthodes publiques

Méthode Description
FindPackage ( string packageId, SemanticVersion version, NuGetRequest request ) : IPackage

Find-Package

FindPackagesById ( string packageId, NuGetRequest request ) : IEnumerable

Find-Package bases on the given package Id

Search ( string searchTerm, NuGetRequest nugetRequest ) : IEnumerable

Search the entire repository for the case when a user does not provider package name or uses wildcards in the name.

SendRequest ( string query, NuGetRequest request ) : IEnumerable

Send the request to the server with buffer size to account for the case where there are more data that we need to fetch

Private Methods

Méthode Description
HttpClientPackageRepository ( string queryUrl, NuGetRequest request ) : System

Ctor's

Method Details

FindPackage() public méthode

Find-Package
public FindPackage ( string packageId, SemanticVersion version, NuGetRequest request ) : IPackage
packageId string package Id
version SemanticVersion package version
request NuGetRequest
Résultat IPackage

FindPackagesById() public méthode

Find-Package bases on the given package Id
public FindPackagesById ( string packageId, NuGetRequest request ) : IEnumerable
packageId string Package Id
request NuGetRequest
Résultat IEnumerable

Search() public méthode

Search the entire repository for the case when a user does not provider package name or uses wildcards in the name.
public Search ( string searchTerm, NuGetRequest nugetRequest ) : IEnumerable
searchTerm string
nugetRequest NuGetRequest
Résultat IEnumerable

SendRequest() public static méthode

Send the request to the server with buffer size to account for the case where there are more data that we need to fetch
public static SendRequest ( string query, NuGetRequest request ) : IEnumerable
query string
request NuGetRequest
Résultat IEnumerable