ExpressionEvaluator Members
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
The ExpressionEvaluator is used to evaluate targeting expressions.
The ExpressionEvaluator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExpressionEvaluator | Initializes a new instance of the ExpressionEvaluator class that runs against the expression store in the SQL database given by the connection string. |
Top
Methods
Name | Description | |
---|---|---|
CheckState | Verifies that the object has not already been disposed. | |
CreateEvaluationContextHandle | Creates an EvaluationContext object for evaluating multiple expressions against the same set of profiles. | |
Dispose | Overloaded. Use this method to release resources by the ExpressionEvaluator object. | |
Equals | (Inherited from Object.) | |
Evaluate | Evaluates the expression specified by the specified expression and using the provided profiles. | |
EvaluateInContext | Evaluates the specified expression, using the profiles contained in the EvaluationContextHandle object. | |
EvaluateXml | Evaluates the expression represented in the XML string and using the provided profiles. | |
Finalize | (Inherited from Object.) | |
FlushCache | Removes all loaded and precompiled expressions from the evaluator's expression cache. | |
FlushExpressionFromCache | Removes a single loaded and precompiled expression from the evaluator's expression cache. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LoadAll | Loads and precompiles all expressions in the expression store database, and updates the expressions cache. | |
LoadExpression | Loads and precompiles the specified expression from the expression store database, and updates the cache if necessary. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
ValidateExpressionXml | Checks whether an Extensible Markup Language (XML) fragment is a syntactically correct expression. |
Top
Properties
Name | Description | |
---|---|---|
CachedExpressionCount | Gets the number of expressions currently in the evaluator's expression cache. |
Top