C# Class Platform.Invoke.ProbingConstructorBuilder

Provides an implementation for a ConstructorBuilder that emits functionality for IMethodCallProbe{TInterface}.
Inheritance: DefaultConstructorBuilder
Show file Open project: GeirGrusom/PlatformInvoker Class Usage Examples

Public Methods

Method Description
ProbingConstructorBuilder ( string>.Func lookupFunctionName ) : System

Protected Methods

Method Description
DefineConstructor ( TypeBuilder owner, Type interfaceType ) : ConstructorBuilder

Defines the constructor used.

EmitBegin ( TypeBuilder type, Type interfaceType, ILGenerator generator ) : void

Emits begin call

Method Details

DefineConstructor() protected method

Defines the constructor used.
protected DefineConstructor ( TypeBuilder owner, Type interfaceType ) : ConstructorBuilder
owner System.Reflection.Emit.TypeBuilder
interfaceType System.Type
return System.Reflection.Emit.ConstructorBuilder

EmitBegin() protected method

Emits begin call
protected EmitBegin ( TypeBuilder type, Type interfaceType, ILGenerator generator ) : void
type System.Reflection.Emit.TypeBuilder
interfaceType System.Type
generator System.Reflection.Emit.ILGenerator
return void

ProbingConstructorBuilder() public method

public ProbingConstructorBuilder ( string>.Func lookupFunctionName ) : System
lookupFunctionName string>.Func Supplies a function lookup name transformation. Set this to null to use the method name verbatim.
return System