C# Class MediaAppSample.Core.ViewModels.QueueViewModel

Inheritance: ViewModelBase
Afficher le fichier Open project: Microsoft/TVHelpers

Méthodes publiques

Méthode Description
QueueViewModel ( ) : MediaAppSample.Core.Commands

Méthodes protégées

Méthode Description
OnLoadStateAsync ( LoadStateEventArgs e, bool isFirstRun ) : Task
OnRefreshAsync ( CancellationToken ct ) : Task
OnSaveStateAsync ( SaveStateEventArgs e ) : Task

Private Methods

Méthode Description
AddToQueueAsync ( ContentItemBase item ) : Task
CanAddToQueue ( ContentItemBase item ) : bool
CanRemoveFromQueue ( ContentItemBase item ) : bool
RemoveFromQueueAsync ( ContentItemBase item ) : Task
UpdateQueueProperties ( ) : void

Method Details

OnLoadStateAsync() protected méthode

protected OnLoadStateAsync ( LoadStateEventArgs e, bool isFirstRun ) : Task
e LoadStateEventArgs
isFirstRun bool
Résultat Task

OnRefreshAsync() protected méthode

protected OnRefreshAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
Résultat Task

OnSaveStateAsync() protected méthode

protected OnSaveStateAsync ( SaveStateEventArgs e ) : Task
e SaveStateEventArgs
Résultat Task

QueueViewModel() public méthode

public QueueViewModel ( ) : MediaAppSample.Core.Commands
Résultat MediaAppSample.Core.Commands