C# Class Spring.Expressions.BaseNode.EvaluationContext

Holds the state during evaluating an expression.
Exibir arquivo Open project: zhangzihan/nactivity

Public Properties

Property Type Description
LocalVariables IDictionary
RootContext object
ThisContext object
Variables object>.IDictionary

Public Methods

Method Description
EvaluationContext ( object rootContext, IDictionary globalVariables ) : System

Initializes a new EvaluationContext instance.

SwitchLocalVariables ( IDictionary newLocalVariables ) : IDisposable

Switches current LocalVariables.

SwitchThisContext ( ) : IDisposable

Switches current ThisContext.

Method Details

EvaluationContext() public method

Initializes a new EvaluationContext instance.
public EvaluationContext ( object rootContext, IDictionary globalVariables ) : System
rootContext object The root context for this evaluation
globalVariables IDictionary dictionary of global variables used during this evaluation
return System

SwitchLocalVariables() public method

Switches current LocalVariables.
public SwitchLocalVariables ( IDictionary newLocalVariables ) : IDisposable
newLocalVariables IDictionary
return IDisposable

SwitchThisContext() public method

Switches current ThisContext.
public SwitchThisContext ( ) : IDisposable
return IDisposable

Property Details

LocalVariables public_oe property

Gets/Sets local variables of the current evaluation
public IDictionary LocalVariables
return IDictionary

RootContext public_oe property

Gets/Sets the root context of the current evaluation
public object RootContext
return object

ThisContext public_oe property

Gets/Sets the current context of the current evaluation
public object ThisContext
return object

Variables public_oe property

Gets/Sets global variables of the current evaluation
public IDictionary Variables
return object>.IDictionary