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
ilILGeneratorindexintkeystringtypeTypehandlerValuesLocalBuilderhandlerIndexinthandlerValueboolbindValuebool
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
ilILGeneratortypeType
EmitStackValue(ILGenerator, Type)
Emits the raw typed type-level value directly onto the IL stack.
void EmitStackValue(ILGenerator il, Type type)
Parameters
ilILGeneratortypeType
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
ilILGeneratorindexinttypeTypebindValueboolcontextUseWithEmissionContext
GetStackType(Type)
The raw type left on the IL stack by EmitStackValue(ILGenerator, Type).
Type GetStackType(Type type)
Parameters
typeType
Returns
Validate(Type)
Checks the emitter against the parameter type.
void Validate(Type type)
Parameters
typeType