C# Class AcManager.Tools.Helpers.Loaders.DirectLoader

Inheritance: ILoader
显示文件 Open project: gro-ove/actools

Protected Properties

Property Type Description
Url string

Public Methods

Method Description
DirectLoader ( string url ) : System.Net
DownloadAsync ( WebClient client, string destination, CancellationToken cancellation ) : Task
PrepareAsync ( WebClient client, CancellationToken cancellation ) : Task

Method Details

DirectLoader() public method

public DirectLoader ( string url ) : System.Net
url string
return System.Net

DownloadAsync() public method

public DownloadAsync ( WebClient client, string destination, CancellationToken cancellation ) : Task
client System.Net.WebClient
destination string
cancellation System.Threading.CancellationToken
return Task

PrepareAsync() public method

public PrepareAsync ( WebClient client, CancellationToken cancellation ) : Task
client System.Net.WebClient
cancellation System.Threading.CancellationToken
return Task

Property Details

Url protected_oe property

protected string Url
return string