Метод | Описание | |
---|---|---|
AddDownload ( IDownloadItem downloadItem ) : void |
Adds a download at the end of the queue.
|
|
Initialize ( |
Initializes this class.
|
|
StartDownloads ( ) : void |
Starts downloads.
|
|
StopDownloads ( ) : void |
Stops downloads.
|
|
UpdateAvailableDownloads ( ) : void |
Updates all available downloads.
|
Метод | Описание | |
---|---|---|
CreateLocalFilename ( string address ) : string |
Creates the filename where the download should be copied to.
|
|
DownloadFileAsync ( string address, string filename, IDownloadItem downloadItem, |
Downloads a file asynchronously.
|
|
DownloadManager ( ICategoryRepository categoryRepository, IRssRepository rssRepository, IFinishedDownloadsRepository finishedDownloadsRepository, IDependencyComposer composer ) : System | ||
EnqueueDownloads ( IEnumerable |
Enqueues all downloads that are not already queued.
|
|
GetAvailableItems ( IEnumerable |
Gets all items that are available in the RSS repository.
|
|
GetDownloadAddress ( IDownloadItem downloadItem ) : string |
Gets the download address.
|
|
GetEnabledCategories ( ) : IEnumerable |
Get all categories that are enabled.
|
|
GetNextDownload ( ) : IDownloadItem |
Gets the next download item. First it will look for items with high priority, then normal priority and at last low priority.
|
|
GetNextDownloadWithPriority ( DownloadPriority priority ) : IDownloadItem |
Gets the next download with the specified priority.
|
|
RaiseDownloadAdded ( |
Raises the DownloadAdded event.
|
|
RaiseDownloadRemoved ( |
Raises the DownloadRemoved event.
|
|
RaiseDownloadingStarted ( |
Raises the DownloadingStarted event.
|
|
RaiseDownloadingStopped ( |
Raises the DownloadingStopped event.
|
|
RemoveAlreadyFinishedDownloads ( IList |
Removes already finished downloads from the list of available items.
|
|
RemoveDownloadsFromQueueThatAreNoLongerEnabled ( IEnumerable |
Removes all downloads from the queue whose category is no longer enabled.
|
|
SettingsPropertyChanged ( object sender, System e ) : void |
Event handler for property changed of settings.
|
public AddDownload ( IDownloadItem downloadItem ) : void | ||
downloadItem | IDownloadItem | The download to add. |
Результат | void |
public Initialize ( |
||
settings | The application settings. | |
Результат | void |
public UpdateAvailableDownloads ( ) : void | ||
Результат | void |