Struct ParameterMemberAccess
- Namespace
- Rinku.Querying.Parameters
- Assembly
- Rinku.dll
Describes a parameter member as seen from the root parameter object. A direct member has one path step. A member reached through NestedParametersAttribute has several.
public readonly struct ParameterMemberAccess
- Inherited Members
- Extension Methods
Properties
Depth
The number of flattened object hops before the final member.
public int Depth { get; }
Property Value
IsNested
Whether the member is reached through at least one flattened object.
public bool IsNested { get; }
Property Value
Member
The final field/property that provides the parameter value.
public MemberInfo Member { get; }
Property Value
MemberType
The final value type.
public Type MemberType { get; }
Property Value
RootType
The runtime parameter object's type.
public Type RootType { get; }
Property Value
Methods
EmitLoad(ILGenerator)
Emits the final typed value. Nested accesses are prepared/null-checked by the accessor generator.
public void EmitLoad(ILGenerator il)
Parameters
ilILGenerator
EmitValue(ILGenerator)
Emits the final value and boxes value types.
public void EmitValue(ILGenerator il)
Parameters
ilILGenerator