Table of Contents

Class DictionaryAccessor

Namespace
Steeltoe.Common.Expression.Internal.Contexts
Assembly
Steeltoe.Common.Expression.dll
public class DictionaryAccessor : ICompilablePropertyAccessor, IPropertyAccessor
Inheritance
DictionaryAccessor
Implements
Inherited Members

Methods

CanRead(IEvaluationContext, object, string)

public bool CanRead(IEvaluationContext context, object target, string name)

Parameters

context IEvaluationContext
target object
name string

Returns

bool

CanWrite(IEvaluationContext, object, string)

public bool CanWrite(IEvaluationContext context, object target, string name)

Parameters

context IEvaluationContext
target object
name string

Returns

bool

GenerateCode(string, ILGenerator, CodeFlow)

public void GenerateCode(string propertyName, ILGenerator gen, CodeFlow cf)

Parameters

propertyName string
gen ILGenerator
cf CodeFlow

GetPropertyType()

public Type GetPropertyType()

Returns

Type

GetSpecificTargetClasses()

public IList<Type> GetSpecificTargetClasses()

Returns

IList<Type>

IsCompilable()

public bool IsCompilable()

Returns

bool

Read(IEvaluationContext, object, string)

public ITypedValue Read(IEvaluationContext context, object target, string name)

Parameters

context IEvaluationContext
target object
name string

Returns

ITypedValue

Write(IEvaluationContext, object, string, object)

public void Write(IEvaluationContext context, object target, string name, object newValue)

Parameters

context IEvaluationContext
target object
name string
newValue object