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

Inheritance: PropertyChangedBase, IRepoActionHandler, IDomainService
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

PerformStatusAction() public méthode

public PerformStatusAction ( string actionText, Action act ) : void
actionText string
act Action
Résultat void

PerformStatusActionAsync() public méthode

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

PerformStatusActionWithBusyHandling() public méthode

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

PerformStatusActionWithBusyHandlingAsync() public méthode

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

PerformUpdaterActionSuspendedAsync() public méthode

public PerformUpdaterActionSuspendedAsync ( string actionText, Func act ) : System.Threading.Tasks.Task
actionText string
act Func
Résultat System.Threading.Tasks.Task

RepoActionHandler() public méthode

public RepoActionHandler ( IBusyStateHandler busyStateHandler ) : System
busyStateHandler IBusyStateHandler
Résultat System

TryUpdaterActionAsync() public méthode

public TryUpdaterActionAsync ( Func action, string task ) : System.Threading.Tasks.Task
action Func
task string
Résultat System.Threading.Tasks.Task