C# Class MediaAppSample.Core.ViewModels.QueueViewModel

Inheritance: ViewModelBase
Mostrar archivo Open project: Microsoft/TVHelpers

Public Methods

Method Description
QueueViewModel ( ) : MediaAppSample.Core.Commands

Protected Methods

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

Private Methods

Method Description
AddToQueueAsync ( ContentItemBase item ) : Task
CanAddToQueue ( ContentItemBase item ) : bool
CanRemoveFromQueue ( ContentItemBase item ) : bool
RemoveFromQueueAsync ( ContentItemBase item ) : Task
UpdateQueueProperties ( ) : void

Method Details

OnLoadStateAsync() protected method

protected OnLoadStateAsync ( LoadStateEventArgs e, bool isFirstRun ) : Task
e LoadStateEventArgs
isFirstRun bool
return Task

OnRefreshAsync() protected method

protected OnRefreshAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
return Task

OnSaveStateAsync() protected method

protected OnSaveStateAsync ( SaveStateEventArgs e ) : Task
e SaveStateEventArgs
return Task

QueueViewModel() public method

public QueueViewModel ( ) : MediaAppSample.Core.Commands
return MediaAppSample.Core.Commands