Interface IExpression
- Namespace
- Steeltoe.Common.Expression.Internal
- Assembly
- Steeltoe.Common.Abstractions.dll
An expression capable of evaluating itself against context objects. Encapsulates the details of a previously parsed expression string. Provides a common abstraction for expression evaluation. TODO: This interface is not complete
public interface IExpression
Properties
ExpressionString
string ExpressionString { get; }
Property Value
Methods
GetValue()
object GetValue()
Returns
GetValue(IEvaluationContext)
object GetValue(IEvaluationContext context)
Parameters
context
IEvaluationContext
Returns
GetValue(IEvaluationContext, object)
object GetValue(IEvaluationContext context, object rootObject)
Parameters
context
IEvaluationContextrootObject
object
Returns
GetValue(IEvaluationContext, object, Type)
object GetValue(IEvaluationContext context, object rootObject, Type desiredResultType)
Parameters
context
IEvaluationContextrootObject
objectdesiredResultType
Type
Returns
GetValue(IEvaluationContext, Type)
object GetValue(IEvaluationContext context, Type desiredResultType)
Parameters
context
IEvaluationContextdesiredResultType
Type
Returns
GetValue(object)
object GetValue(object rootObject)
Parameters
rootObject
object
Returns
GetValue(object, Type)
object GetValue(object rootObject, Type desiredResultType)
Parameters
Returns
GetValue(Type)
object GetValue(Type desiredResultType)
Parameters
desiredResultType
Type
Returns
GetValueType()
Type GetValueType()
Returns
GetValueType(IEvaluationContext)
Type GetValueType(IEvaluationContext context)
Parameters
context
IEvaluationContext
Returns
GetValueType(IEvaluationContext, object)
Type GetValueType(IEvaluationContext context, object rootObject)
Parameters
context
IEvaluationContextrootObject
object
Returns
GetValueType(object)
Type GetValueType(object rootObject)
Parameters
rootObject
object
Returns
GetValue<T>()
T GetValue<T>()
Returns
- T
Type Parameters
T
GetValue<T>(IEvaluationContext)
T GetValue<T>(IEvaluationContext context)
Parameters
context
IEvaluationContext
Returns
- T
Type Parameters
T
GetValue<T>(IEvaluationContext, object)
T GetValue<T>(IEvaluationContext context, object rootObject)
Parameters
context
IEvaluationContextrootObject
object
Returns
- T
Type Parameters
T
GetValue<T>(object)
T GetValue<T>(object rootObject)
Parameters
rootObject
object
Returns
- T
Type Parameters
T
IsWritable(IEvaluationContext)
bool IsWritable(IEvaluationContext context)
Parameters
context
IEvaluationContext
Returns
IsWritable(IEvaluationContext, object)
bool IsWritable(IEvaluationContext context, object rootObject)
Parameters
context
IEvaluationContextrootObject
object
Returns
IsWritable(object)
bool IsWritable(object rootObject)
Parameters
rootObject
object
Returns
SetValue(IEvaluationContext, object)
void SetValue(IEvaluationContext context, object value)
Parameters
context
IEvaluationContextvalue
object
SetValue(IEvaluationContext, object, object)
void SetValue(IEvaluationContext context, object rootObject, object value)
Parameters
context
IEvaluationContextrootObject
objectvalue
object
SetValue(object, object)
void SetValue(object rootObject, object value)