Class ExpressionState  
  
  
    - Namespace
- Steeltoe.Common.Expression.Internal.Spring
- Assembly
- Steeltoe.Common.Expression.dll
 
  
  
  
    [Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class ExpressionState
   
  
    - Inheritance
- 
      
      ExpressionState 
    - Inherited Members
- 
    
    
    
    
    
    
    
  
Constructors
  
  
  ExpressionState(IEvaluationContext)
  
  
  
  
  
    public ExpressionState(IEvaluationContext context)
   
  Parameters
  
    - contextIEvaluationContext
  ExpressionState(IEvaluationContext, ITypedValue)
  
  
  
  
  
    public ExpressionState(IEvaluationContext context, ITypedValue rootObject)
   
  Parameters
  
    - contextIEvaluationContext
- rootObjectITypedValue
  ExpressionState(IEvaluationContext, ITypedValue, SpelParserOptions)
  
  
  
  
  
    public ExpressionState(IEvaluationContext context, ITypedValue rootObject, SpelParserOptions configuration)
   
  Parameters
  
    - contextIEvaluationContext
- rootObjectITypedValue
- configurationSpelParserOptions
  ExpressionState(IEvaluationContext, SpelParserOptions)
  
  
  
  
  
    public ExpressionState(IEvaluationContext context, SpelParserOptions configuration)
   
  Parameters
  
    - contextIEvaluationContext
- configurationSpelParserOptions
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
  
    - valueITypedValue
- targetTypeDescriptorType
Returns
  
    - object
  ConvertValue(object, Type)
  
  
  
  
  
    public object ConvertValue(object value, Type targetTypeDescriptor)
   
  Parameters
  
    - valueobject
- targetTypeDescriptorType
Returns
  
    - object
  EnterScope()
  
  
  
  
  
  
  
  EnterScope(Dictionary<string, object>)
  
  
  
  
  
    public void EnterScope(Dictionary<string, object> argMap)
   
  Parameters
  
    - argMapDictionary<string, object>
  EnterScope(string, object)
  
  
  
  
  
    public void EnterScope(string name, object value)
   
  Parameters
  
    - namestring
- valueobject
  ExitScope()
  
  
  
  
  
  
  
  FindType(string)
  
  
  
  
  
    public Type FindType(string type)
   
  Parameters
  
    - typestring
Returns
  
    - Type
  GetActiveContextObject()
  
  
  
  
  
    public ITypedValue GetActiveContextObject()
   
  Returns
  
    - ITypedValue
  GetScopeRootContextObject()
  
  
  
  
  
    public ITypedValue GetScopeRootContextObject()
   
  Returns
  
    - ITypedValue
  LookupLocalVariable(string)
  
  
  
  
  
    public object LookupLocalVariable(string name)
   
  Parameters
  
    - namestring
Returns
  
    - object
  LookupVariable(string)
  
  
  
  
  
    public ITypedValue LookupVariable(string name)
   
  Parameters
  
    - namestring
Returns
  
    - ITypedValue
  Operate(Operation, object, object)
  
  
  
  
  
    public ITypedValue Operate(Operation op, object left, object right)
   
  Parameters
  
    - opOperation
- leftobject
- rightobject
Returns
  
    - ITypedValue
  PopActiveContextObject()
  
  
  
  
  
    public void PopActiveContextObject()
   
  
  
  PushActiveContextObject(ITypedValue)
  
  
  
  
  
    public void PushActiveContextObject(ITypedValue obj)
   
  Parameters
  
    - objITypedValue
  SetLocalVariable(string, object)
  
  
  
  
  
    public void SetLocalVariable(string name, object value)
   
  Parameters
  
    - namestring
- valueobject
  SetVariable(string, object)
  
  
  
  
  
    public void SetVariable(string name, object value)
   
  Parameters
  
    - namestring
- valueobject