C# Class Biz.Services.DownloadService

Inheritance: IDownloadService
显示文件 Open project: englishtown/OfflinePackageBuilder Class Usage Examples

Public Methods

Method Description
DownloadFromPath ( Uri url ) : string
DownloadFromPath ( Uri url, string path ) : string
MediaDownload ( Uri url, string path ) : void
SaveTo ( string content, string path ) : void

Private Methods

Method Description
CreateFoler ( string path ) : void
WriteToFile ( Stream st, string path ) : void

Method Details

DownloadFromPath() public method

public DownloadFromPath ( Uri url ) : string
url System.Uri
return string

DownloadFromPath() public method

public DownloadFromPath ( Uri url, string path ) : string
url System.Uri
path string
return string

MediaDownload() public method

public MediaDownload ( Uri url, string path ) : void
url System.Uri
path string
return void

SaveTo() public method

public SaveTo ( string content, string path ) : void
content string
path string
return void