Charting for WinForms Programmer's Guide
EvaluationContext Members
Constructors Properties Methods Events
 


Provides a context for evaluating a byte code.

The following tables list the members exposed by the EvaluationContext type.

 Public Constructors

  Name Description

EvaluationContext

Overloaded. Initializes a new instance of the EvaluationContext class.

 Public Properties

  Name Description

CultureInfo

Gets or sets the culture associated with the context.

DispatchFunctionParam

Gets or sets a user-defined object passed to the DispatchFunctionCall event.

LocalVars

Gets a collection with defined variables and their values.

 Public Methods

  Name Description

EvaluateIdentifier

Evaluates the identifier with the specified name.

EvaluateMember

Evaluates the member with the specified name against the specified target.

EvaluateQuantity

Evaluates the specified quanitity in the specified unit.

InvokeFunction

Invokes the function with the specified name.

ResolveObject

Returns the object with the specified name.

ResolveReference

Returns the object representing the specified reference.

 Protected Methods

  Name Description

OnDispatchFunctionCall

Raises the DispatchFunctionCall event.

OnParseObject

Raises the ParseObject event.

 Public Events

  Name Description

DispatchFunctionCall

Raised by the EvaluationContext when a function name cannot be recognized as one of the built-in functions to allow clients to evaluate the function call.

ParseObject

Raised by the EvaluationContext when an object needs to be parsed from its string representation and the parser is either not able to parse it or not able to create an object of the respective type.

 See Also

EvaluationContext Class
MindFusion.Scripting Namespace