C# Class LinFu.AOP.Cecil.SurroundMethodBody

Inheritance: ISurroundMethodBody
Mostra file Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

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

Adds an epilog to the given method body.

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

Adds a prolog to the given method body.

SurroundMethodBody ( IMethodBodyRewriterParameters parameters, string providerName ) : System

Initializes a new instance of the IMethodBodyRewriterParameters class.

SurroundMethodBody ( Mono.Cecil.Cil.VariableDefinition methodReplacementProvider, Mono.Cecil.Cil.VariableDefinition aroundInvokeProvider, Mono.Cecil.Cil.VariableDefinition invocationInfo, Mono.Cecil.Cil.VariableDefinition interceptionDisabled, Mono.Cecil.Cil.VariableDefinition returnValue, Type registryType, string providerName ) : System

Initializes a new instance of the IMethodBodyRewriterParameters class.

Method Details

AddEpilog() public method

Adds an epilog to the given method body.
public AddEpilog ( Mono.Cecil.Cil.CilWorker IL ) : void
IL Mono.Cecil.Cil.CilWorker The that points to the given method body.
return void

AddProlog() public method

Adds a prolog to the given method body.
public AddProlog ( Mono.Cecil.Cil.CilWorker IL ) : void
IL Mono.Cecil.Cil.CilWorker The that points to the given method body.
return void

SurroundMethodBody() public method

Initializes a new instance of the IMethodBodyRewriterParameters class.
public SurroundMethodBody ( IMethodBodyRewriterParameters parameters, string providerName ) : System
parameters IMethodBodyRewriterParameters The parameters that describe the context of the emitter call.
providerName string The name of the property.
return System

SurroundMethodBody() public method

Initializes a new instance of the IMethodBodyRewriterParameters class.
public SurroundMethodBody ( Mono.Cecil.Cil.VariableDefinition methodReplacementProvider, Mono.Cecil.Cil.VariableDefinition aroundInvokeProvider, Mono.Cecil.Cil.VariableDefinition invocationInfo, Mono.Cecil.Cil.VariableDefinition interceptionDisabled, Mono.Cecil.Cil.VariableDefinition returnValue, Type registryType, string providerName ) : System
methodReplacementProvider Mono.Cecil.Cil.VariableDefinition The variable that contains the instance.
aroundInvokeProvider Mono.Cecil.Cil.VariableDefinition The variable that contains the instance
invocationInfo Mono.Cecil.Cil.VariableDefinition The variable that contains the instance.
interceptionDisabled Mono.Cecil.Cil.VariableDefinition The variable that determines whether or not interception is disabled
returnValue Mono.Cecil.Cil.VariableDefinition The variable that contains the method return value.
registryType System.Type The interception registry type that will be responsible for handling class-level interception events.
providerName string The name of the property.
return System