ExpressionContextT Class

Represents a dynamic expression context for evaluating expressions with variables and imports.

Definition

Namespace: Gemstone.Expressions.Evaluator
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.138 -- Release Build+63a7edac60a211bd5f0d2e3c31f6620955dda11d
public class ExpressionContext<T> : ISupportContextVariables
Inheritance
Object    ExpressionContextT
Derived
Implements
ISupportContextVariables

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Gemstone.Expressions.Evaluator.ExpressionContext`1"]

Remarks

All variables that can be used in an expression should be defined before the expression is compiled. For compilation, variable values can simply be initialized with default values and then updated later before the expression is evaluated.

Constructors

ExpressionContextTInitializes a new instance of the ExpressionContextT class

Properties

DefaultValue Gets or sets the default value to use for undefined variables.
Imports Gets the type registry used to resolve imported types for an expression.
Variables Gets the dictionary of variables that can be accessed in an expression.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also