C# Class LinFu.AOP.Cecil.AddMethodReplacementImplementation

Represents an instruction emitter that adds method body replacement support to a given method body.
Inheritance: IInstructionEmitter
ファイルを表示 Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
AddMethodReplacementImplementation ( IMethodBodyRewriterParameters parameters ) : System.Collections.Generic

Initializes a new instance of the AddMethodReplacementImplementation class.

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

Adds method body interception to the target method.

Method Details

AddMethodReplacementImplementation() public method

Initializes a new instance of the AddMethodReplacementImplementation class.
public AddMethodReplacementImplementation ( IMethodBodyRewriterParameters parameters ) : System.Collections.Generic
parameters IMethodBodyRewriterParameters The set of parameters that describe the target method body.
return System.Collections.Generic

Emit() public method

Adds method body interception to the target method.
public Emit ( Mono.Cecil.Cil.CilWorker IL ) : void
IL Mono.Cecil.Cil.CilWorker The pointing to the target method body.
return void