C# 클래스 Elmah.Assertions.RegexMatchAssertion

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

공개 메소드들

메소드 설명
RegexMatchAssertion ( IContextExpression source, Regex regex ) : System

보호된 메소드들

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

메소드 상세

RegexMatchAssertion() 공개 메소드

public RegexMatchAssertion ( IContextExpression source, Regex regex ) : System
source IContextExpression
regex System.Text.RegularExpressions.Regex
리턴 System

TestResult() 보호된 메소드

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

TestResultMatch() 보호된 메소드

protected TestResultMatch ( string result ) : bool
result string
리턴 bool