C# Class ADBaseLibrary.DownloadManager

Show file Open project: maxpiva/AnimeOfflineDownloader Class Usage Examples

Public Properties

Property Type Description
_downloadslock object

Public Methods

Method Description
Add ( EpisodeWithDownloadSettings ep, string template, string downloadpath, DownloadStatus status = DownloadStatus.Queue ) : DownloadItem
Cancel ( string id ) : void
Delete ( string id ) : void
DownloadManager ( int maxdownloads ) : System
Load ( string template, string downloadpath ) : List
PrepateToQuit ( ) : void
ReOrder ( string id, string downid ) : void
Reset ( string id ) : void
Save ( ) : void

Private Methods

Method Description
CheckForDownload ( ) : void

Method Details

Add() public method

public Add ( EpisodeWithDownloadSettings ep, string template, string downloadpath, DownloadStatus status = DownloadStatus.Queue ) : DownloadItem
ep EpisodeWithDownloadSettings
template string
downloadpath string
status DownloadStatus
return DownloadItem

Cancel() public method

public Cancel ( string id ) : void
id string
return void

Delete() public method

public Delete ( string id ) : void
id string
return void

DownloadManager() public method

public DownloadManager ( int maxdownloads ) : System
maxdownloads int
return System

Load() public method

public Load ( string template, string downloadpath ) : List
template string
downloadpath string
return List

PrepateToQuit() public method

public PrepateToQuit ( ) : void
return void

ReOrder() public method

public ReOrder ( string id, string downid ) : void
id string
downid string
return void

Reset() public method

public Reset ( string id ) : void
id string
return void

Save() public method

public Save ( ) : void
return void

Property Details

_downloadslock public property

public object _downloadslock
return object