Table of Contents

Interface ITypeAccessorEmitter

Namespace
Rinku.Querying.Parameters
Assembly
Rinku.dll

Emits one parameter key whose rule belongs to the whole parameter type.

public interface ITypeAccessorEmitter
Extension Methods

Methods

Emit(ILGenerator, int, string, Type, LocalBuilder?, int, bool, bool)

Emits the direct parameter binding path.

void Emit(ILGenerator il, int index, string key, Type type, LocalBuilder? handlerValues, int handlerIndex, bool handlerValue, bool bindValue)

Parameters

il ILGenerator
index int
key string
type Type
handlerValues LocalBuilder
handlerIndex int
handlerValue bool
bindValue bool

EmitStackUsage(ILGenerator, Type)

Emits whether the type-level value is currently usable, leaving a bool on the IL stack.

void EmitStackUsage(ILGenerator il, Type type)

Parameters

il ILGenerator
type Type

EmitStackValue(ILGenerator, Type)

Emits the raw typed type-level value directly onto the IL stack.

void EmitStackValue(ILGenerator il, Type type)

Parameters

il ILGenerator
type Type

EmitUseWith(ILGenerator, int, Type, bool, UseWithEmissionContext)

Emits the value-array path used by UseWith.

void EmitUseWith(ILGenerator il, int index, Type type, bool bindValue, UseWithEmissionContext context)

Parameters

il ILGenerator
index int
type Type
bindValue bool
context UseWithEmissionContext

GetStackType(Type)

The raw type left on the IL stack by EmitStackValue(ILGenerator, Type).

Type GetStackType(Type type)

Parameters

type Type

Returns

Type

Validate(Type)

Checks the emitter against the parameter type.

void Validate(Type type)

Parameters

type Type