C# Class Elmah.Assertions.JScriptAssertion.FullTrustEvaluationStrategy

Compiles the given expression into a JScript function at time of construction and then simply invokes it during evaluation, using the context as a parameter.
Inheritance: EvaluationStrategy
Afficher le fichier Open project: elmah/Elmah

Méthodes publiques

Méthode Description
Eval ( object context ) : bool
FullTrustEvaluationStrategy ( string expression, VsaEngine engine ) : System
IsApplicable ( ) : bool

Private Methods

Méthode Description
DefaultThisObject ( VsaEngine engine ) : object

Method Details

Eval() public méthode

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

FullTrustEvaluationStrategy() public méthode

public FullTrustEvaluationStrategy ( string expression, VsaEngine engine ) : System
expression string
engine Microsoft.JScript.Vsa.VsaEngine
Résultat System

IsApplicable() public static méthode

public static IsApplicable ( ) : bool
Résultat bool