Search
EvaluationContext.EvaluateMember Method
See Also
 






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

Namespace: MindFusion.Scripting
Assembly: MindFusion.Scripting

 Syntax

C#  Copy Code

public virtual Object EvaluateMember (
    Object target,
    string name,
    bool last
)

Visual Basic  Copy Code

Public Overridable Function EvaluateMember( _
    target As Object, _
    name As String, _
    last As Boolean _
) As Object

 Parameters

target

The target object.

name

The name of the member.

last

Indicates whether the resolved member is the last in a sequence of member references. For example, in the following expression "A.B.C", when A.B is being resolved, last is set to false, and when R.C is being resolved (where R is the value of A.B), last is set to true.

 Return Value

The value of the member.

 Remarks

Member references are evaluated automatically. This method is called when a member references could not be resolved through reflection.

 See Also