C# 클래스 Elmah.Assertions.ComparisonAssertion

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

공개 메소드들

메소드 설명
ComparisonAssertion ( Predicate predicate, IContextExpression source, TypeCode type, string value ) : System
Test ( object context ) : bool

보호된 메소드들

메소드 설명
TestComparison ( IComparable left, IComparable right ) : bool
TestResult ( object result ) : bool

메소드 상세

ComparisonAssertion() 공개 메소드

public ComparisonAssertion ( Predicate predicate, IContextExpression source, TypeCode type, string value ) : System
predicate Predicate
source IContextExpression
type TypeCode
value string
리턴 System

Test() 공개 메소드

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

TestComparison() 보호된 메소드

protected TestComparison ( IComparable left, IComparable right ) : bool
left IComparable
right IComparable
리턴 bool

TestResult() 보호된 메소드

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