C# 클래스 Channel9Downloader.ViewModels.DownloadsVM

상속: Channel9Downloader.ViewModels.Framework.AdornerViewModel, IDownloadsVM
파일 보기 프로젝트 열기: MadCowDevelopment/Channel9Downloader

공개 메소드들

메소드 설명
Initialize ( Settings settings ) : void

Initializes this class.

비공개 메소드들

메소드 설명
AddDownloadItemOnMainThread ( IDownloadItem downloadItem ) : void

Adds a DownloadItem on the main thread.

DownloadItemPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Removes and adds an item if the download state has changed. This is so that the sorting will be applied.

DownloadManagerDownloadAdded ( object sender, DownloadAddedEventArgs e ) : void

Adds a download to the list of queued downloads.

DownloadManagerDownloadRemoved ( object sender, DownloadRemovedEventArgs e ) : void

Removes a download from the list of queued downloads.

DownloadManagerDownloadingStarted ( object sender, System e ) : void

Sets the download status to true when downloads have started.

DownloadManagerDownloadingStopped ( object sender, System e ) : void

Sets the download status to false when downloads have stopped.

DownloadsVM ( IDownloadManager downloadManager ) : System.Collections.ObjectModel
InitializeDownloadManagerAsync ( ) : void

Initializes categories in the background.

OnCleanDownloads ( ) : void

Removes downloads that are finished or skipped.

OnStartDownloads ( ) : void

Starts the downloads.

OnStopDownloads ( ) : void

Stops the downloads.

OnUpdateDownloads ( ) : void

Updates the downloads in the background.

RemoveDownloadItemOnMainThread ( IDownloadItem downloadItem ) : void

Removes a DownloadItem on the main thread.

SettingsPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the property changed event of settings.

StartUpdateTimer ( ) : void

Starts the update timer.

StopUpdateTimer ( ) : void

Stops the update timer.

UpdateDownloadsAsync ( ) : void

Updates the downloads.

메소드 상세

Initialize() 공개 메소드

Initializes this class.
public Initialize ( Settings settings ) : void
settings Channel9Downloader.Entities.Settings The application settings.
리턴 void