Search
EvaluationContext Constructor (Object, CultureInfo)
See Also
 





Initializes a new instance of the EvaluationContext class for the specified object and culture.

Namespace: MindFusion.Scripting
Assembly: MindFusion.Scripting

 Syntax

C#  Copy Code

public EvaluationContext (
    Object target,
    CultureInfo cultureInfo
)

Visual Basic  Copy Code

Public New ( _
    target As Object, _
    cultureInfo As CultureInfo _
)

 Parameters

target

The target object of the byte code evaluation.

cultureInfo
The culture associated with the context.

 Remarks

The target is used when evaluating identifiers within the expression. If an identifier is not recognized as local variable or a predefined keyword, the identifier is tested as a property against the target object. In addition the keyword this is also evaluated to the target object.

 See Also