C# Class withSIX.Core.Applications.Services.ErrorHandlerr

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
GenerateDiagnosticZip ( IAbsoluteFilePath path ) : System.Threading.Tasks.Task
HandleException ( Exception ex, string action = "Action" ) : UserErrorModel
SetExceptionHandler ( IExceptionHandler handler ) : void
TryAction ( Func act, string action = null ) : Task

Private Methods

Méthode Description
GetLogFilesDictionary ( IAbsoluteDirectoryPath path ) : string>.Dictionary

Method Details

GenerateDiagnosticZip() public static méthode

public static GenerateDiagnosticZip ( IAbsoluteFilePath path ) : System.Threading.Tasks.Task
path IAbsoluteFilePath
Résultat System.Threading.Tasks.Task

HandleException() public static méthode

public static HandleException ( Exception ex, string action = "Action" ) : UserErrorModel
ex System.Exception
action string
Résultat withSIX.Core.Applications.Errors.UserErrorModel

SetExceptionHandler() public static méthode

public static SetExceptionHandler ( IExceptionHandler handler ) : void
handler IExceptionHandler
Résultat void

TryAction() public static méthode

public static TryAction ( Func act, string action = null ) : Task
act Func
action string
Résultat Task