C# 클래스 ApprovalUtilities.Utilities.ExceptionUtilities

파일 보기 프로젝트 열기: approvals/ApprovalTests.Net 1 사용 예제들

공개 메소드들

메소드 설명
FormatAsError ( ) : string
FormatError ( this except ) : string
FormatExeption ( Exception exception ) : string
GetException ( System.Action action ) : Exception
GetExceptionLines ( Exception except ) : string[]

메소드 상세

FormatAsError() 공개 정적인 메소드

public static FormatAsError ( ) : string
리턴 string

FormatError() 공개 정적인 메소드

public static FormatError ( this except ) : string
except this
리턴 string

FormatExeption() 공개 정적인 메소드

public static FormatExeption ( Exception exception ) : string
exception System.Exception
리턴 string

GetException() 공개 정적인 메소드

public static GetException ( System.Action action ) : Exception
action System.Action
리턴 System.Exception

GetExceptionLines() 공개 정적인 메소드

public static GetExceptionLines ( Exception except ) : string[]
except System.Exception
리턴 string[]