C# Class MediaAppSample.Core.ViewModels.WelcomeViewModel

Inheritance: ViewModelBase
Mostrar archivo Open project: Microsoft/TVHelpers

Public Methods

Method Description
Dispose ( ) : void
WelcomeViewModel ( ) : MediaAppSample.Core.Commands

Protected Methods

Method Description
OnLoadStateAsync ( LoadStateEventArgs e, bool isFirstRun ) : Task

Private Methods

Method Description
LaunchWebAccountManager ( ) : Task

Launches the WebAccountManager (WAM)

WAM_Failed ( Services pi, WebTokenRequestResult result ) : void

Flow to perform on any failures from the WAM popup

WAM_Success ( Services pi, Services info, WebTokenRequestResult result ) : void

Flow to perform on successful pick of an account from the WAM popup

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnLoadStateAsync() protected method

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

WelcomeViewModel() public method

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