Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RootObjectDefinition Constructor

Creates a new instance of the RootObjectDefinition class.

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

Parameters

type
The Type of the object to instantiate.
singleton
true if this object definition defines a singleton object.

See Also

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