Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

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

Inherit from a type.

[Visual Basic]
Protected Overridable Overloads Sub InheritType( _
   ByVal typeBuilder As TypeBuilder, _
   ByVal proxyMethodBuilder As IProxyMethodBuilder, _
   ByVal type As Type, _
   ByVal declaredMembersOnly As Boolean _
)
[C#]
protected virtual void InheritType(
   TypeBuilder typeBuilder,
   IProxyMethodBuilder proxyMethodBuilder,
   Type type,
   bool declaredMembersOnly
);

Parameters

typeBuilder
The Type builder to use for code generation.
proxyMethodBuilder
The IProxyMethodBuilder implementation to use to override base virtual methods.
type
The Type to inherit from.
declaredMembersOnly
true if only members declared at the level of the supplied type's hierarchy should be proxied; otherwise false.

Remarks

Generates proxy methods for base virtual methods using the specified proxyMethodBuilder.

See Also

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