Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractProxyTypeBuilder.ImplementInterface(TypeBuilder, IProxyMethodBuilder, Type, Type, Boolean) Method

Implements an interface.

[Visual Basic]
Protected Overridable Overloads Sub ImplementInterface( _
   ByVal typeBuilder As TypeBuilder, _
   ByVal proxyMethodBuilder As IProxyMethodBuilder, _
   ByVal intf As Type, _
   ByVal targetType As Type, _
   ByVal proxyVirtualMethods As Boolean _
)
[C#]
protected virtual void ImplementInterface(
   TypeBuilder typeBuilder,
   IProxyMethodBuilder proxyMethodBuilder,
   Type intf,
   Type targetType,
   bool proxyVirtualMethods
);

Parameters

typeBuilder
The type builder to use.
proxyMethodBuilder
The IProxyMethodBuilder implementation to use
intf
The interface to implement.
targetType
The Type of the target object.
proxyVirtualMethods
false if target virtual methods should not be proxied; otherwise true.

Remarks

Generates proxy methods that belongs to the interface using the specified proxyMethodBuilder.

See Also

AbstractProxyTypeBuilder Class | Spring.Proxy Namespace | AbstractProxyTypeBuilder.ImplementInterface Overload List