C# Class Elmah.Assertions.JScriptAssertion.PartialTrustEvaluationStrategy

Uses the JScript eval function to compile and evaluate the expression against the context on each evaluation.
Inheritance: EvaluationStrategy
Afficher le fichier Open project: elmah/Elmah

Méthodes publiques

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

Method Details

Eval() public méthode

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

PartialTrustEvaluationStrategy() public méthode

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