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

Méthodes publiques

Méthode Description
Test ( object context ) : bool
TypeAssertion ( IContextExpression source, Type expectedType, bool byCompatibility ) : System

Méthodes protégées

Méthode Description
TestResult ( object result ) : bool

Private Methods

Méthode Description
EvaluateToException ( object context ) : object
MaskNullExpression ( IContextExpression expression ) : IContextExpression

Method Details

Test() public méthode

public Test ( object context ) : bool
context object
Résultat bool

TestResult() protected méthode

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

TypeAssertion() public méthode

public TypeAssertion ( IContextExpression source, Type expectedType, bool byCompatibility ) : System
source IContextExpression
expectedType System.Type
byCompatibility bool
Résultat System