C# Class LinFu.AOP.Cecil.SurroundMethodBody

Inheritance: ISurroundMethodBody
Afficher le fichier Open project: philiplaureano/LinFu Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

AddProlog() public méthode

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.
Résultat void

SurroundMethodBody() public méthode

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.
Résultat System

SurroundMethodBody() public méthode

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.
Résultat System