C# Class withSIX.Play.Applications.Services.RepoActionHandler

Inheritance: PropertyChangedBase, IRepoActionHandler, IDomainService
Show file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
DealWithUpdateException ( Exception e, string task, string message = StrHostListExhausted, string title = null ) : Task
PerformStatusAction ( string actionText, Action act ) : void
PerformStatusActionAsync ( string actionText, Task>.Func act ) : System.Threading.Tasks.Task
PerformStatusActionWithBusyHandling ( StatusRepo repo, string actionText, System.Action act ) : void
PerformStatusActionWithBusyHandlingAsync ( StatusRepo repo, string actionText, Func act ) : System.Threading.Tasks.Task
PerformUpdaterActionSuspendedAsync ( string actionText, Func act ) : System.Threading.Tasks.Task
RepoActionHandler ( IBusyStateHandler busyStateHandler ) : System
TryUpdaterActionAsync ( Func action, string task ) : System.Threading.Tasks.Task

Private Methods

Method Description
PerformStatusAction ( string actionText, System.Action act, StatusRepo repo ) : void
PerformStatusActionAsync ( string actionText, Func act, StatusRepo repo ) : System.Threading.Tasks.Task

Method Details

DealWithUpdateException() public method

public DealWithUpdateException ( Exception e, string task, string message = StrHostListExhausted, string title = null ) : Task
e System.Exception
task string
message string
title string
return Task

PerformStatusAction() public method

public PerformStatusAction ( string actionText, Action act ) : void
actionText string
act Action
return void

PerformStatusActionAsync() public method

public PerformStatusActionAsync ( string actionText, Task>.Func act ) : System.Threading.Tasks.Task
actionText string
act Task>.Func
return System.Threading.Tasks.Task

PerformStatusActionWithBusyHandling() public method

public PerformStatusActionWithBusyHandling ( StatusRepo repo, string actionText, System.Action act ) : void
repo withSIX.Play.Core.Games.Services.StatusRepo
actionText string
act System.Action
return void

PerformStatusActionWithBusyHandlingAsync() public method

public PerformStatusActionWithBusyHandlingAsync ( StatusRepo repo, string actionText, Func act ) : System.Threading.Tasks.Task
repo withSIX.Play.Core.Games.Services.StatusRepo
actionText string
act Func
return System.Threading.Tasks.Task

PerformUpdaterActionSuspendedAsync() public method

public PerformUpdaterActionSuspendedAsync ( string actionText, Func act ) : System.Threading.Tasks.Task
actionText string
act Func
return System.Threading.Tasks.Task

RepoActionHandler() public method

public RepoActionHandler ( IBusyStateHandler busyStateHandler ) : System
busyStateHandler IBusyStateHandler
return System

TryUpdaterActionAsync() public method

public TryUpdaterActionAsync ( Func action, string task ) : System.Threading.Tasks.Task
action Func
task string
return System.Threading.Tasks.Task