Table of Contents

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

int

IsNested

Whether the member is reached through at least one flattened object.

public bool IsNested { get; }

Property Value

bool

Member

The final field/property that provides the parameter value.

public MemberInfo Member { get; }

Property Value

MemberInfo

MemberType

The final value type.

public Type MemberType { get; }

Property Value

Type

RootType

The runtime parameter object's type.

public Type RootType { get; }

Property Value

Type

Methods

EmitLoad(ILGenerator)

Emits the final typed value. Nested accesses are prepared/null-checked by the accessor generator.

public void EmitLoad(ILGenerator il)

Parameters

il ILGenerator

EmitValue(ILGenerator)

Emits the final value and boxes value types.

public void EmitValue(ILGenerator il)

Parameters

il ILGenerator