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 using the supplied AutoWiringMode.

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

Parameters

type
The Type of the object to instantiate.
autowireMode
The autowiring mode.
dependencyCheck
Whether to perform a dependency check for objects (not applicable to autowiring a constructor, thus ignored there)

See Also

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