C# 클래스 Elmah.Assertions.TypeAssertion

An assertion implementation whose test is based on whether the result of an input expression evaluated against a context matches a regular expression pattern or not.
상속: DataBoundAssertion
파일 보기 프로젝트 열기: elmah/Elmah

공개 메소드들

메소드 설명
Test ( object context ) : bool
TypeAssertion ( IContextExpression source, Type expectedType, bool byCompatibility ) : System

보호된 메소드들

메소드 설명
TestResult ( object result ) : bool

비공개 메소드들

메소드 설명
EvaluateToException ( object context ) : object
MaskNullExpression ( IContextExpression expression ) : IContextExpression

메소드 상세

Test() 공개 메소드

public Test ( object context ) : bool
context object
리턴 bool

TestResult() 보호된 메소드

protected TestResult ( object result ) : bool
result object
리턴 bool

TypeAssertion() 공개 메소드

public TypeAssertion ( IContextExpression source, Type expectedType, bool byCompatibility ) : System
source IContextExpression
expectedType System.Type
byCompatibility bool
리턴 System