Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractProxyTypeBuilder.GetInterfaceMapping Method

Gets the mapping of the interface to proxy into the actual methods on the target type that does not need to implement that interface.

[Visual Basic]
Protected Overridable Sub GetInterfaceMapping( _
   ByVal targetType As Type, _
   ByVal intf As Type _
)
[C#]
protected virtual InterfaceMapping GetInterfaceMapping(
   Type targetType,
   Type intf
);

Parameters

targetType
The Type of the target object.
intf
The interface to implement.

Return Value

An interface mapping for the interface to proxy.

Remarks

If the target type does not implement the interface, we return the interfaces methods as the target methods for many reasons :

See Also

AbstractProxyTypeBuilder Class | Spring.Proxy Namespace