Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CompositionProxyTypeBuilder.GenerateConstructor Method

Generates the proxy constructor.

[Visual Basic]
Protected Overrides Sub GenerateConstructor( _
   ByVal builder As ConstructorBuilder, _
   ByVal il As ILGenerator, _
   ByVal constructor As ConstructorInfo _
)
[C#]
protected override void GenerateConstructor(
   ConstructorBuilder builder,
   ILGenerator il,
   ConstructorInfo constructor
);

Parameters

builder
The constructor builder to use.
il
The IL generator to use.
constructor
The constructor to delegate the creation to.

Remarks

This implementation creates instance of the target object for delegation using constructor arguments.

See Also

CompositionProxyTypeBuilder Class | Spring.Proxy Namespace