C# Class Spring.Proxy.TargetProxyMethodBuilder

Implementation of IProxyMethodBuilder that delegates method calls to target object.
Inheritance: Spring.Proxy.AbstractProxyMethodBuilder
Mostrar archivo Open project: spring-projects/spring-net

Public Methods

Method Description
TargetProxyMethodBuilder ( TypeBuilder typeBuilder, IProxyTypeGenerator proxyGenerator, bool explicitImplementation ) : System.Reflection

Creates a new instance of the method builder.

Protected Methods

Method Description
GenerateMethod ( ILGenerator il, MethodInfo method, MethodInfo interfaceMethod ) : void

Generates the proxy method.

Method Details

GenerateMethod() protected method

Generates the proxy method.
protected GenerateMethod ( ILGenerator il, MethodInfo method, MethodInfo interfaceMethod ) : void
il System.Reflection.Emit.ILGenerator The IL generator to use.
method System.Reflection.MethodInfo The method to proxy.
interfaceMethod System.Reflection.MethodInfo /// The interface definition of the method, if applicable. ///
return void

TargetProxyMethodBuilder() public method

Creates a new instance of the method builder.
public TargetProxyMethodBuilder ( TypeBuilder typeBuilder, IProxyTypeGenerator proxyGenerator, bool explicitImplementation ) : System.Reflection
typeBuilder System.Reflection.Emit.TypeBuilder The type builder to use.
proxyGenerator IProxyTypeGenerator /// The implementation to use. ///
explicitImplementation bool /// if the interface is to be /// implemented explicitly; otherwise . ///
return System.Reflection