C# Class NuGet.PackageDownloader

Inheritance: IHttpClientEvents
ファイルを表示 Open project: monoman/NugetCracker Class Usage Examples

Public Methods

Method Description
DownloadPackage ( IHttpClient downloadClient, byte packageHash, IPackageMetadata package ) : IPackage
DownloadPackage ( Uri uri, byte packageHash, IPackageMetadata package ) : IPackage
PackageDownloader ( ) : System
PackageDownloader ( IPackageFactory packageFactory, IHashProvider hashProvider ) : System

Private Methods

Method Description
OnPackageDownloadProgress ( NuGet.ProgressEventArgs e ) : void
OnSendingRequest ( WebRequest webRequest ) : void

Method Details

DownloadPackage() public method

public DownloadPackage ( IHttpClient downloadClient, byte packageHash, IPackageMetadata package ) : IPackage
downloadClient IHttpClient
packageHash byte
package IPackageMetadata
return IPackage

DownloadPackage() public method

public DownloadPackage ( Uri uri, byte packageHash, IPackageMetadata package ) : IPackage
uri System.Uri
packageHash byte
package IPackageMetadata
return IPackage

PackageDownloader() public method

public PackageDownloader ( ) : System
return System

PackageDownloader() public method

public PackageDownloader ( IPackageFactory packageFactory, IHashProvider hashProvider ) : System
packageFactory IPackageFactory
hashProvider IHashProvider
return System