C# Class withSIX.Mini.Infra.Api.StateHandler

Inheritance: IInfrastructureService, IStateHandler
Mostrar archivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
AddUserError ( UserErrorModel2 error ) : System.Threading.Tasks.Task
DispatchNextAction ( Func dispatcher, System.Guid actionId ) : Task
Initialize ( ) : System.Threading.Tasks.Task
ResolveError ( System.Guid id, string result, object>.Dictionary data ) : System.Threading.Tasks.Task
StartUpdating ( ) : System.Threading.Tasks.Task
StateHandler ( IDbContextLocator locator, IMessageBusProxy messageBus ) : System
UpdateAvailable ( string version, AppUpdateState appUpdateState = AppUpdateState.UpdateAvailable ) : System.Threading.Tasks.Task

Private Methods

Method Description
GetActionStateUpdate ( ActionTabState sm ) : ActionTabStateUpdate
GetActiveComponent ( ProgressInfo info ) : FlatProgressInfo
GetBusyState ( StatusChanged message, string icon ) : StatusModel
Handle ( ExtensionStateChanged evt ) : System.Threading.Tasks.Task
Handle ( ActionNotification message ) : void
Handle ( ContentInstalled message ) : void
Handle ( ContentStatusChanged message ) : void
Handle ( ContentUsed message ) : void
Handle ( GameLaunched message ) : void
Handle ( GameLockChanged message ) : void
Handle ( GameTerminated message ) : void
Handle ( RecentItemRemoved message ) : void
Handle ( StatusChanged message ) : void
Handle ( StatusModel sm ) : void
Handle ( UninstallActionCompleted message ) : void
HandleChildAction ( StatusModel sm, ChildActionState childAction ) : void
HandleInitialClientInfo ( ) : System.Threading.Tasks.Task
HandleInitialGameStates ( ) : System.Threading.Tasks.Task
Raise ( AppState appState ) : System.Threading.Tasks.Task
UpdateClientInfo ( ) : System.Threading.Tasks.Task
UpdateClientInfo ( bool extensionInstalled ) : System.Threading.Tasks.Task

Method Details

AddUserError() public method

public AddUserError ( UserErrorModel2 error ) : System.Threading.Tasks.Task
error UserErrorModel2
return System.Threading.Tasks.Task

DispatchNextAction() public method

public DispatchNextAction ( Func dispatcher, System.Guid actionId ) : Task
dispatcher Func
actionId System.Guid
return Task

Initialize() public method

public Initialize ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

ResolveError() public method

public ResolveError ( System.Guid id, string result, object>.Dictionary data ) : System.Threading.Tasks.Task
id System.Guid
result string
data object>.Dictionary
return System.Threading.Tasks.Task

StartUpdating() public method

public StartUpdating ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StateHandler() public method

public StateHandler ( IDbContextLocator locator, IMessageBusProxy messageBus ) : System
locator IDbContextLocator
messageBus IMessageBusProxy
return System

UpdateAvailable() public method

public UpdateAvailable ( string version, AppUpdateState appUpdateState = AppUpdateState.UpdateAvailable ) : System.Threading.Tasks.Task
version string
appUpdateState AppUpdateState
return System.Threading.Tasks.Task