Table of Contents

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

string

Methods

GetValue()

object GetValue()

Returns

object

GetValue(IEvaluationContext)

object GetValue(IEvaluationContext context)

Parameters

context IEvaluationContext

Returns

object

GetValue(IEvaluationContext, object)

object GetValue(IEvaluationContext context, object rootObject)

Parameters

context IEvaluationContext
rootObject object

Returns

object

GetValue(IEvaluationContext, object, Type)

object GetValue(IEvaluationContext context, object rootObject, Type desiredResultType)

Parameters

context IEvaluationContext
rootObject object
desiredResultType Type

Returns

object

GetValue(IEvaluationContext, Type)

object GetValue(IEvaluationContext context, Type desiredResultType)

Parameters

context IEvaluationContext
desiredResultType Type

Returns

object

GetValue(object)

object GetValue(object rootObject)

Parameters

rootObject object

Returns

object

GetValue(object, Type)

object GetValue(object rootObject, Type desiredResultType)

Parameters

rootObject object
desiredResultType Type

Returns

object

GetValue(Type)

object GetValue(Type desiredResultType)

Parameters

desiredResultType Type

Returns

object

GetValueType()

Type GetValueType()

Returns

Type

GetValueType(IEvaluationContext)

Type GetValueType(IEvaluationContext context)

Parameters

context IEvaluationContext

Returns

Type

GetValueType(IEvaluationContext, object)

Type GetValueType(IEvaluationContext context, object rootObject)

Parameters

context IEvaluationContext
rootObject object

Returns

Type

GetValueType(object)

Type GetValueType(object rootObject)

Parameters

rootObject object

Returns

Type

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 IEvaluationContext
rootObject 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

bool

IsWritable(IEvaluationContext, object)

bool IsWritable(IEvaluationContext context, object rootObject)

Parameters

context IEvaluationContext
rootObject object

Returns

bool

IsWritable(object)

bool IsWritable(object rootObject)

Parameters

rootObject object

Returns

bool

SetValue(IEvaluationContext, object)

void SetValue(IEvaluationContext context, object value)

Parameters

context IEvaluationContext
value object

SetValue(IEvaluationContext, object, object)

void SetValue(IEvaluationContext context, object rootObject, object value)

Parameters

context IEvaluationContext
rootObject object
value object

SetValue(object, object)

void SetValue(object rootObject, object value)

Parameters

rootObject object
value object