C# Class Platform.Invoke.ProbingMethodCallWrapper

Provides an implementation of a IMethodCallWrapper that supports function probing.
Inheritance: DefaultMethodCallWrapper
Show file Open project: GeirGrusom/PlatformInvoker Class Usage Examples

Public Methods

Method Description
ProbingMethodCallWrapper ( Func probeField ) : System

Creates an instance of a method call wrapper with a getter for the specified probe field.

Protected Methods

Method Description
OnInvokeBegin ( TypeBuilder type, Type interfaceType, ILGenerator generator, MethodInfo interfaceMethod ) : void

Implements code for begin invocations.

OnInvokeEnd ( TypeBuilder type, Type interfaceType, ILGenerator generator, MethodInfo interfaceMethod ) : void

Implements code for end invocations.

Method Details

OnInvokeBegin() protected method

Implements code for begin invocations.
protected OnInvokeBegin ( TypeBuilder type, Type interfaceType, ILGenerator generator, MethodInfo interfaceMethod ) : void
type System.Reflection.Emit.TypeBuilder
interfaceType System.Type
generator System.Reflection.Emit.ILGenerator
interfaceMethod System.Reflection.MethodInfo
return void

OnInvokeEnd() protected method

Implements code for end invocations.
protected OnInvokeEnd ( TypeBuilder type, Type interfaceType, ILGenerator generator, MethodInfo interfaceMethod ) : void
type System.Reflection.Emit.TypeBuilder
interfaceType System.Type
generator System.Reflection.Emit.ILGenerator
interfaceMethod System.Reflection.MethodInfo
return void

ProbingMethodCallWrapper() public method

Creates an instance of a method call wrapper with a getter for the specified probe field.
public ProbingMethodCallWrapper ( Func probeField ) : System
probeField Func Function returning a probe filed (as specified by )
return System