Share via


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
Aa163219.pubmethod(en-US,CS.70).gif 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
Aa163219.protmethod(en-US,CS.70).gif CheckState Verifies that the object has not already been disposed.
Aa163219.pubmethod(en-US,CS.70).gif CreateEvaluationContextHandle Creates an EvaluationContext object for evaluating multiple expressions against the same set of profiles.
Aa163219.pubmethod(en-US,CS.70).gif Dispose Overloaded. Use this method to release resources by the ExpressionEvaluator object.
Aa163219.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa163219.pubmethod(en-US,CS.70).gif Evaluate Evaluates the expression specified by the specified expression and using the provided profiles.
Aa163219.pubmethod(en-US,CS.70).gif EvaluateInContext Evaluates the specified expression, using the profiles contained in the EvaluationContextHandle object.
Aa163219.pubmethod(en-US,CS.70).gif EvaluateXml Evaluates the expression represented in the XML string and using the provided profiles.
Aa163219.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa163219.pubmethod(en-US,CS.70).gif FlushCache Removes all loaded and precompiled expressions from the evaluator's expression cache.
Aa163219.pubmethod(en-US,CS.70).gif FlushExpressionFromCache Removes a single loaded and precompiled expression from the evaluator's expression cache.
Aa163219.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa163219.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa163219.pubmethod(en-US,CS.70).gif LoadAll Loads and precompiles all expressions in the expression store database, and updates the expressions cache.
Aa163219.pubmethod(en-US,CS.70).gif LoadExpression Loads and precompiles the specified expression from the expression store database, and updates the cache if necessary.
Aa163219.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa163219.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)
Aa163219.pubmethod(en-US,CS.70).gif ValidateExpressionXml Checks whether an Extensible Markup Language (XML) fragment is a syntactically correct expression.

Top

Properties

  Name Description
Aa163219.pubproperty(en-US,CS.70).gif CachedExpressionCount Gets the number of expressions currently in the evaluator's expression cache.

Top

See Also

Reference

ExpressionEvaluator Class

Microsoft.CommerceServer.Runtime.Targeting Namespace