Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RootObjectDefinition Constructor

Creates a new instance of the RootObjectDefinition class with the given singleton status, providing property values.

[Visual Basic]
Public Overloads Sub New( _
   ByVal type As Type, _
   ByVal properties As MutablePropertyValues, _
   ByVal singleton As Boolean _
)
[C#]
RootObjectDefinition(
   Type type,
   MutablePropertyValues properties,
   bool singleton
);

Parameters

type
The Type of the object to instantiate.
properties
The MutablePropertyValues to be applied to a new instance of the object.
singleton
true if this object definition defines a singleton object.

See Also

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