C# Class LinFu.AOP.Cecil.GetClassMethodReplacementProvider

Represents a class that emits the instructions that obtain a class-level IMethodReplacementProvider instance.
Inheritance: IInstructionEmitter
Show file Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
Emit ( Mono.Cecil.Cil.CilWorker IL ) : void

Emits the instructions that obtain a class-level IMethodReplacementProvider instance.

GetClassMethodReplacementProvider ( IMethodBodyRewriterParameters parameters, MethodReference>.Func resolveGetProviderMethod ) : System

Initializes a new instance of the GetClassMethodReplacementProvider class.

GetClassMethodReplacementProvider ( Mono.Cecil.Cil.VariableDefinition invocationInfo, Mono.Cecil.Cil.VariableDefinition classMethodReplacementProvider, MethodReference>.Func resolveGetProviderMethod ) : System

Initializes a new instance of the GetClassMethodReplacementProvider class.

Method Details

Emit() public method

Emits the instructions that obtain a class-level IMethodReplacementProvider instance.
public Emit ( Mono.Cecil.Cil.CilWorker IL ) : void
IL Mono.Cecil.Cil.CilWorker The instance that points to the instructions in the method body.
return void

GetClassMethodReplacementProvider() public method

Initializes a new instance of the GetClassMethodReplacementProvider class.
public GetClassMethodReplacementProvider ( IMethodBodyRewriterParameters parameters, MethodReference>.Func resolveGetProviderMethod ) : System
parameters IMethodBodyRewriterParameters The method body rewriter paramters that describe the
resolveGetProviderMethod MethodReference>.Func The functor that resolves the method that obtains the method replacement provider instance.
return System

GetClassMethodReplacementProvider() public method

Initializes a new instance of the GetClassMethodReplacementProvider class.
public GetClassMethodReplacementProvider ( Mono.Cecil.Cil.VariableDefinition invocationInfo, Mono.Cecil.Cil.VariableDefinition classMethodReplacementProvider, MethodReference>.Func resolveGetProviderMethod ) : System
invocationInfo Mono.Cecil.Cil.VariableDefinition The variable that contains the instance.
classMethodReplacementProvider Mono.Cecil.Cil.VariableDefinition The variable that contains the class method replacement provider instance.
resolveGetProviderMethod MethodReference>.Func The functor that resolves the method that obtains the method replacement provider instance.
return System