Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

InheritanceProxyTypeBuilder.BuildProxyType Method

Creates a proxy that inherits the proxied object's class.

[Visual Basic]
Public Overrides Sub BuildProxyType() _
    Implements IProxyTypeBuilder.BuildProxyType
[C#]
public override Type BuildProxyType();

Return Value

The generated proxy class.

Implements

IProxyTypeBuilder.BuildProxyType

Remarks

Only virtual (CanOverride in Visual Basic) (non-final) methods can be proxied, unless they are members of one of the interfaces that target class implements. In that case, methods will be proxied using explicit interface implementation, which means that client code will have to cast the proxy to a specific interface in order to invoke the methods.

See Also

InheritanceProxyTypeBuilder Class | Spring.Proxy Namespace