Class ExpressionState
Inheritance
System.Object
ExpressionState
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class ExpressionState : object
Constructors
|
Edit this page
View Source
ExpressionState(IEvaluationContext)
Declaration
public ExpressionState(IEvaluationContext context)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
|
Edit this page
View Source
ExpressionState(IEvaluationContext, ITypedValue)
Declaration
public ExpressionState(IEvaluationContext context, ITypedValue rootObject)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
ITypedValue |
rootObject |
|
|
Edit this page
View Source
ExpressionState(IEvaluationContext, ITypedValue, SpelParserOptions)
Declaration
public ExpressionState(IEvaluationContext context, ITypedValue rootObject, SpelParserOptions configuration)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
ITypedValue |
rootObject |
|
SpelParserOptions |
configuration |
|
|
Edit this page
View Source
ExpressionState(IEvaluationContext, SpelParserOptions)
Declaration
public ExpressionState(IEvaluationContext context, SpelParserOptions configuration)
Parameters
Properties
|
Edit this page
View Source
Configuration
Declaration
public SpelParserOptions Configuration { get; }
Property Value
|
Edit this page
View Source
EvaluationContext
Declaration
public IEvaluationContext EvaluationContext { get; }
Property Value
Type |
Description |
IEvaluationContext |
|
|
Edit this page
View Source
PropertyAccessors
Declaration
public List<IPropertyAccessor> PropertyAccessors { get; }
Property Value
Type |
Description |
List<IPropertyAccessor> |
|
|
Edit this page
View Source
RootContextObject
Declaration
public ITypedValue RootContextObject { get; }
Property Value
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
TypeComparator
Declaration
public ITypeComparator TypeComparator { get; }
Property Value
Type |
Description |
ITypeComparator |
|
|
Edit this page
View Source
TypeConverter
Declaration
public ITypeConverter TypeConverter { get; }
Property Value
Type |
Description |
ITypeConverter |
|
Methods
|
Edit this page
View Source
ConvertValue(ITypedValue, Type)
Declaration
public object ConvertValue(ITypedValue value, Type targetTypeDescriptor)
Parameters
Type |
Name |
Description |
ITypedValue |
value |
|
Type |
targetTypeDescriptor |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
ConvertValue(Object, Type)
Declaration
public object ConvertValue(object value, Type targetTypeDescriptor)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Type |
targetTypeDescriptor |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
EnterScope()
Declaration
|
Edit this page
View Source
EnterScope(Dictionary<String, Object>)
Declaration
public void EnterScope(Dictionary<string, object> argMap)
Parameters
Type |
Name |
Description |
Dictionary<System.String, System.Object> |
argMap |
|
|
Edit this page
View Source
EnterScope(String, Object)
Declaration
public void EnterScope(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
|
Edit this page
View Source
ExitScope()
Declaration
|
Edit this page
View Source
FindType(String)
Declaration
public Type FindType(string type)
Parameters
Type |
Name |
Description |
System.String |
type |
|
Returns
|
Edit this page
View Source
GetActiveContextObject()
Declaration
public ITypedValue GetActiveContextObject()
Returns
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
GetScopeRootContextObject()
Declaration
public ITypedValue GetScopeRootContextObject()
Returns
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
LookupLocalVariable(String)
Declaration
public object LookupLocalVariable(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
LookupVariable(String)
Declaration
public ITypedValue LookupVariable(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
Operate(Operation, Object, Object)
Declaration
public ITypedValue Operate(Operation op, object left, object right)
Parameters
Type |
Name |
Description |
Operation |
op |
|
System.Object |
left |
|
System.Object |
right |
|
Returns
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
PopActiveContextObject()
Declaration
public void PopActiveContextObject()
|
Edit this page
View Source
PushActiveContextObject(ITypedValue)
Declaration
public void PushActiveContextObject(ITypedValue obj)
Parameters
Type |
Name |
Description |
ITypedValue |
obj |
|
|
Edit this page
View Source
SetLocalVariable(String, Object)
Declaration
public void SetLocalVariable(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
|
Edit this page
View Source
SetVariable(String, Object)
Declaration
public void SetVariable(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|