Class ValueExpression<V>
Inheritance
System.Object
ValueExpression<V>
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class ValueExpression<V> : IExpression
Type Parameters
Constructors
|
Edit this page
View Source
ValueExpression(V)
Declaration
public ValueExpression(V value)
Parameters
Type |
Name |
Description |
V |
value |
|
Properties
|
Edit this page
View Source
ExpressionString
Declaration
public string ExpressionString { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
GetValue()
Declaration
public virtual object GetValue()
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue(IEvaluationContext)
Declaration
public virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual object GetValue(Type desiredResultType)
Parameters
Type |
Name |
Description |
Type |
desiredResultType |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
GetValue<T>()
Declaration
public virtual T GetValue<T>()
Returns
Type Parameters
|
Edit this page
View Source
GetValue<T>(IEvaluationContext)
Declaration
public virtual 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 virtual 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 virtual T GetValue<T>(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Returns
Type Parameters
|
Edit this page
View Source
GetValueType()
Declaration
public virtual Type GetValueType()
Returns
|
Edit this page
View Source
GetValueType(IEvaluationContext)
Declaration
public virtual Type GetValueType(IEvaluationContext context)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
Returns
|
Edit this page
View Source
GetValueType(IEvaluationContext, Object)
Declaration
public virtual 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 virtual Type GetValueType(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Returns
|
Edit this page
View Source
IsWritable(IEvaluationContext)
Declaration
public virtual 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 virtual 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 virtual bool IsWritable(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
SetValue(IEvaluationContext, Object)
Declaration
public virtual 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 virtual 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 virtual void SetValue(object rootObject, object value)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
System.Object |
value |
|