C# 클래스 Dev2.Studio.Factory.ExceptionFactory

Factory used to create a wrapper around exceptions
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf

공개 프로퍼티들

프로퍼티 타입 설명
GetUniqueOutputPath string>.Func

공개 메소드들

메소드 설명
Create ( Exception exception, bool isCritical = false ) : ExceptionUiModel

Creates a UI wrapper the specified exception (recursively).

CreateStringValue ( Exception exception, StringBuilder builder = null, bool critical = false ) : StringBuilder

Creates the string value (recursively).

CreateViewModel ( Exception e, IEnvironmentModel environmentModel, ErrorSeverity isCritical = ErrorSeverity.Default ) : IExceptionViewModel

Creates the exception view model.

메소드 상세

Create() 공개 정적인 메소드

Creates a UI wrapper the specified exception (recursively).
public static Create ( Exception exception, bool isCritical = false ) : ExceptionUiModel
exception System.Exception The exception.
isCritical bool Will append the critical error text to the message if true
리턴 Dev2.Studio.Model.ExceptionUiModel

CreateStringValue() 공개 정적인 메소드

Creates the string value (recursively).
public static CreateStringValue ( Exception exception, StringBuilder builder = null, bool critical = false ) : StringBuilder
exception System.Exception The exception.
builder StringBuilder The builder to use - null if not recursive.
critical bool
리턴 StringBuilder

CreateViewModel() 공개 정적인 메소드

Creates the exception view model.
public static CreateViewModel ( Exception e, IEnvironmentModel environmentModel, ErrorSeverity isCritical = ErrorSeverity.Default ) : IExceptionViewModel
e System.Exception The exception for this viewmodel.
environmentModel IEnvironmentModel The environment model.
isCritical ErrorSeverity The severity of the error.
리턴 IExceptionViewModel

프로퍼티 상세

GetUniqueOutputPath 공개적으로 정적으로 프로퍼티

public static Func GetUniqueOutputPath
리턴 string>.Func