Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RootObjectDefinition Constructor

Creates a new instance of the RootObjectDefinition class for a singleton, providing property values and constructor arguments.

[Visual Basic]
Public Overloads Sub New( _
   ByVal typeName As String, _
   ByVal arguments As ConstructorArgumentValues, _
   ByVal properties As MutablePropertyValues _
)
[C#]
RootObjectDefinition(
   string typeName,
   ConstructorArgumentValues arguments,
   MutablePropertyValues properties
);

Parameters

typeName
The assembly qualified FullName of the object to instantiate.
arguments
The ConstructorArgumentValues to be applied to a new instance of the object.
properties
The MutablePropertyValues to be applied to a new instance of the object.

Remarks

Takes an object class name to avoid eager loading of the object class.

See Also

RootObjectDefinition Class | Spring.Objects.Factory.Support Namespace | RootObjectDefinition Constructor Overload List