Méthode | Description | |
---|---|---|
Emit ( |
Generates a method body for the targetMethod.
|
|
Initialize ( IServiceContainer source ) : void |
Initializes the MethodBodyEmitter class.
|
|
MethodBodyEmitter ( ) : System |
Initializes the class with the default values.
|
Méthode | Description | |
---|---|---|
EmitGetInterceptorInstruction ( Mono.Cecil.Cil.CilWorker IL, |
Emits the IL instructions to obtain an IInterceptor instance for the proxy type.
|
|
ImplementNotFound ( Mono.Cecil.Cil.CilWorker IL ) : void |
Causes the CilWorker to make the method throw a NotImplementedException if the method cannot be found.
|
Méthode | Description | |
---|---|---|
SaveRefArguments ( Mono.Cecil.Cil.CilWorker IL, IEnumerable |
Saves the ref arguments of a given method using the arguments from the invocationInfo object.
|
public Emit ( |
||
originalMethod | The method currently being intercepted. | |
targetMethod | Mono.Cecil.MethodDefinition | The target method that will contain the new method body. |
Résultat | void |
protected EmitGetInterceptorInstruction ( Mono.Cecil.Cil.CilWorker IL, |
||
IL | Mono.Cecil.Cil.CilWorker | The |
proxyType | The proxy type. | |
getInterceptorMethod | The getter method for the interceptor. | |
Résultat | void |
protected ImplementNotFound ( Mono.Cecil.Cil.CilWorker IL ) : void | ||
IL | Mono.Cecil.Cil.CilWorker | The |
Résultat | void |
public Initialize ( IServiceContainer source ) : void | ||
source | IServiceContainer | |
Résultat | void |