C# 클래스 PclUnit.Constraints.Pieces.ExceptionTypeConstraint

ExceptionTypeConstraint is a special version of ExactTypeConstraint used to provided detailed info about the exception thrown in an error message.
상속: ExactTypeConstraint
파일 보기 프로젝트 열기: jbtule/PclUnit

공개 메소드들

메소드 설명
ExceptionTypeConstraint ( Type type ) : System

Constructs an ExceptionTypeConstraint

WriteActualValueTo ( MessageWriter writer ) : void

Write the actual value for a failing constraint test to a MessageWriter. Overriden to write additional information in the case of an Exception.

메소드 상세

ExceptionTypeConstraint() 공개 메소드

Constructs an ExceptionTypeConstraint
public ExceptionTypeConstraint ( Type type ) : System
type System.Type
리턴 System

WriteActualValueTo() 공개 메소드

Write the actual value for a failing constraint test to a MessageWriter. Overriden to write additional information in the case of an Exception.
public WriteActualValueTo ( MessageWriter writer ) : void
writer MessageWriter The MessageWriter to use
리턴 void