Table of Contents

Class ExpressionState

Namespace
Steeltoe.Common.Expression.Internal.Spring
Assembly
Steeltoe.Common.Expression.dll
public class ExpressionState
Inheritance
ExpressionState
Inherited Members

Constructors

ExpressionState(IEvaluationContext)

public ExpressionState(IEvaluationContext context)

Parameters

context IEvaluationContext

ExpressionState(IEvaluationContext, ITypedValue)

public ExpressionState(IEvaluationContext context, ITypedValue rootObject)

Parameters

context IEvaluationContext
rootObject ITypedValue

ExpressionState(IEvaluationContext, ITypedValue, SpelParserOptions)

public ExpressionState(IEvaluationContext context, ITypedValue rootObject, SpelParserOptions configuration)

Parameters

context IEvaluationContext
rootObject ITypedValue
configuration SpelParserOptions

ExpressionState(IEvaluationContext, SpelParserOptions)

public ExpressionState(IEvaluationContext context, SpelParserOptions configuration)

Parameters

context IEvaluationContext
configuration SpelParserOptions

Properties

Configuration

public SpelParserOptions Configuration { get; }

Property Value

SpelParserOptions

EvaluationContext

public IEvaluationContext EvaluationContext { get; }

Property Value

IEvaluationContext

PropertyAccessors

public List<IPropertyAccessor> PropertyAccessors { get; }

Property Value

List<IPropertyAccessor>

RootContextObject

public ITypedValue RootContextObject { get; }

Property Value

ITypedValue

TypeComparator

public ITypeComparator TypeComparator { get; }

Property Value

ITypeComparator

TypeConverter

public ITypeConverter TypeConverter { get; }

Property Value

ITypeConverter

Methods

ConvertValue(ITypedValue, Type)

public object ConvertValue(ITypedValue value, Type targetTypeDescriptor)

Parameters

value ITypedValue
targetTypeDescriptor Type

Returns

object

ConvertValue(object, Type)

public object ConvertValue(object value, Type targetTypeDescriptor)

Parameters

value object
targetTypeDescriptor Type

Returns

object

EnterScope()

public void EnterScope()

EnterScope(Dictionary<string, object>)

public void EnterScope(Dictionary<string, object> argMap)

Parameters

argMap Dictionary<string, object>

EnterScope(string, object)

public void EnterScope(string name, object value)

Parameters

name string
value object

ExitScope()

public void ExitScope()

FindType(string)

public Type FindType(string type)

Parameters

type string

Returns

Type

GetActiveContextObject()

public ITypedValue GetActiveContextObject()

Returns

ITypedValue

GetScopeRootContextObject()

public ITypedValue GetScopeRootContextObject()

Returns

ITypedValue

LookupLocalVariable(string)

public object LookupLocalVariable(string name)

Parameters

name string

Returns

object

LookupVariable(string)

public ITypedValue LookupVariable(string name)

Parameters

name string

Returns

ITypedValue

Operate(Operation, object, object)

public ITypedValue Operate(Operation op, object left, object right)

Parameters

op Operation
left object
right object

Returns

ITypedValue

PopActiveContextObject()

public void PopActiveContextObject()

PushActiveContextObject(ITypedValue)

public void PushActiveContextObject(ITypedValue obj)

Parameters

obj ITypedValue

SetLocalVariable(string, object)

public void SetLocalVariable(string name, object value)

Parameters

name string
value object

SetVariable(string, object)

public void SetVariable(string name, object value)

Parameters

name string
value object