C# 클래스 withSIX.Core.Applications.Services.ErrorHandlerr

파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetLogFilesDictionary ( IAbsoluteDirectoryPath path ) : string>.Dictionary

메소드 상세

GenerateDiagnosticZip() 공개 정적인 메소드

public static GenerateDiagnosticZip ( IAbsoluteFilePath path ) : System.Threading.Tasks.Task
path IAbsoluteFilePath
리턴 System.Threading.Tasks.Task

HandleException() 공개 정적인 메소드

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

SetExceptionHandler() 공개 정적인 메소드

public static SetExceptionHandler ( IExceptionHandler handler ) : void
handler IExceptionHandler
리턴 void

TryAction() 공개 정적인 메소드

public static TryAction ( Func act, string action = null ) : Task
act Func
action string
리턴 Task