C# Class OpenRA.Download

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
CancelAsync ( ) : void
Download ( string url, Action onProgress, Action onComplete ) : System
Download ( string url, string path, Action onProgress, Action onComplete ) : System
FormatErrorMessage ( Exception e ) : string

Private Methods

Méthode Description
DisposeWebClient ( ) : void

Method Details

CancelAsync() public méthode

public CancelAsync ( ) : void
Résultat void

Download() public méthode

public Download ( string url, Action onProgress, Action onComplete ) : System
url string
onProgress Action
onComplete Action
Résultat System

Download() public méthode

public Download ( string url, string path, Action onProgress, Action onComplete ) : System
url string
path string
onProgress Action
onComplete Action
Résultat System

FormatErrorMessage() public static méthode

public static FormatErrorMessage ( Exception e ) : string
e System.Exception
Résultat string