C# Class Microsoft.PackageManagement.NuGetProvider.HttpClientPackageRepository

Package repository for downloading data from remote galleries
Inheritance: IPackageRepository
Exibir arquivo Open project: OneGet/NuGetProvider

Public Methods

Method 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

Method Description
HttpClientPackageRepository ( string queryUrl, NuGetRequest request ) : System

Ctor's

Method Details

FindPackage() public method

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

FindPackagesById() public method

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

Search() public method

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
return IEnumerable

SendRequest() public static method

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
return IEnumerable