Class PropertyOrFieldReference
public class PropertyOrFieldReference : SpelNode, ISpelNode
- Inheritance
-
PropertyOrFieldReference
- Implements
- Inherited Members
Constructors
PropertyOrFieldReference(bool, string, int, int)
public PropertyOrFieldReference(bool nullSafe, string propertyOrFieldName, int startPos, int endPos)
Parameters
Properties
IsNullSafe
public bool IsNullSafe { get; }
Property Value
Name
public string Name { get; }
Property Value
Methods
ComputeExitDescriptor(object, Type)
protected TypeDescriptor ComputeExitDescriptor(object result, Type propertyReturnType)
Parameters
Returns
GenerateCode(ILGenerator, CodeFlow)
public override void GenerateCode(ILGenerator gen, CodeFlow cf)
Parameters
gen
ILGeneratorcf
CodeFlow
GetValueInternal(ExpressionState)
public override ITypedValue GetValueInternal(ExpressionState state)
Parameters
state
ExpressionState
Returns
GetValueRef(ExpressionState)
protected override IValueRef GetValueRef(ExpressionState state)
Parameters
state
ExpressionState
Returns
IsCompilable()
public override bool IsCompilable()
Returns
IsWritable(ExpressionState)
public override bool IsWritable(ExpressionState state)
Parameters
state
ExpressionState
Returns
IsWritableProperty(string, ITypedValue, IEvaluationContext)
public bool IsWritableProperty(string name, ITypedValue contextObject, IEvaluationContext evalContext)
Parameters
name
stringcontextObject
ITypedValueevalContext
IEvaluationContext
Returns
SetExitTypeDescriptor(TypeDescriptor)
protected void SetExitTypeDescriptor(TypeDescriptor descriptor)
Parameters
descriptor
TypeDescriptor
SetValue(ExpressionState, object)
public override void SetValue(ExpressionState state, object newValue)
Parameters
state
ExpressionStatenewValue
object
ToStringAST()
public override string ToStringAST()