Class SpelExpression
Inheritance
System.Object
SpelExpression
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class SpelExpression : IExpression
Constructors
|
Edit this page
View Source
SpelExpression(String, SpelNode, SpelParserOptions)
Declaration
public SpelExpression(string expression, SpelNode ast, SpelParserOptions configuration)
Parameters
Properties
|
Edit this page
View Source
AST
Declaration
public ISpelNode AST { get; }
Property Value
|
Edit this page
View Source
EvaluationContext
Declaration
public IEvaluationContext EvaluationContext { get; set; }
Property Value
Type |
Description |
IEvaluationContext |
|
|
Edit this page
View Source
ExpressionString
Declaration
public string ExpressionString { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
CompileExpression()
Declaration
public bool CompileExpression()
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
GetValue()
Declaration
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(IEvaluationContext)
Declaration
public object GetValue(IEvaluationContext context)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(IEvaluationContext, Object)
Declaration
public object GetValue(IEvaluationContext context, object rootObject)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
rootObject |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(IEvaluationContext, Object, Type)
Declaration
public object GetValue(IEvaluationContext context, object rootObject, Type desiredResultType)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
rootObject |
|
Type |
desiredResultType |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(IEvaluationContext, Type)
Declaration
public object GetValue(IEvaluationContext context, Type desiredResultType)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
Type |
desiredResultType |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(Object)
Declaration
public object GetValue(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(Object, Type)
Declaration
public object GetValue(object rootObject, Type desiredResultType)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Type |
desiredResultType |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(Type)
Declaration
public object GetValue(Type desiredResultType)
Parameters
Type |
Name |
Description |
Type |
desiredResultType |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue<T>()
Declaration
Returns
Type Parameters
|
Edit this page
View Source
GetValue<T>(IEvaluationContext)
Declaration
public T GetValue<T>(IEvaluationContext context)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
Returns
Type Parameters
|
Edit this page
View Source
GetValue<T>(IEvaluationContext, Object)
Declaration
public T GetValue<T>(IEvaluationContext context, object rootObject)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
rootObject |
|
Returns
Type Parameters
|
Edit this page
View Source
GetValue<T>(Object)
Declaration
public T GetValue<T>(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Returns
Type Parameters
|
Edit this page
View Source
GetValueType()
Declaration
public Type GetValueType()
Returns
|
Edit this page
View Source
GetValueType(IEvaluationContext)
Declaration
public Type GetValueType(IEvaluationContext context)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
Returns
|
Edit this page
View Source
GetValueType(IEvaluationContext, Object)
Declaration
public Type GetValueType(IEvaluationContext context, object rootObject)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
rootObject |
|
Returns
|
Edit this page
View Source
GetValueType(Object)
Declaration
public Type GetValueType(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Returns
|
Edit this page
View Source
IsWritable(IEvaluationContext)
Declaration
public bool IsWritable(IEvaluationContext context)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsWritable(IEvaluationContext, Object)
Declaration
public bool IsWritable(IEvaluationContext context, object rootObject)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
rootObject |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsWritable(Object)
Declaration
public bool IsWritable(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
RevertToInterpreted()
Declaration
public void RevertToInterpreted()
|
Edit this page
View Source
SetValue(IEvaluationContext, Object)
Declaration
public void SetValue(IEvaluationContext context, object value)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
value |
|
|
Edit this page
View Source
SetValue(IEvaluationContext, Object, Object)
Declaration
public void SetValue(IEvaluationContext context, object rootObject, object value)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
rootObject |
|
System.Object |
value |
|
|
Edit this page
View Source
SetValue(Object, Object)
Declaration
public void SetValue(object rootObject, object value)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
System.Object |
value |
|
|
Edit this page
View Source
ToStringAST()
Declaration
public string ToStringAST()
Returns
Type |
Description |
System.String |
|