C# Class 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.
Inheritance: DataBoundAssertion
Afficher le fichier Open project: elmah/Elmah

Méthodes publiques

Méthode Description
RegexMatchAssertion ( IContextExpression source, Regex regex ) : System

Méthodes protégées

Méthode Description
TestResult ( object result ) : bool
TestResultMatch ( string result ) : bool

Method Details

RegexMatchAssertion() public méthode

public RegexMatchAssertion ( IContextExpression source, Regex regex ) : System
source IContextExpression
regex System.Text.RegularExpressions.Regex
Résultat System

TestResult() protected méthode

protected TestResult ( object result ) : bool
result object
Résultat bool

TestResultMatch() protected méthode

protected TestResultMatch ( string result ) : bool
result string
Résultat bool