Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinitionFactory.CreateObjectDefinition Method

Factory style method for getting concrete IConfigurableObjectDefinition instances.

[Visual Basic]
Public Sub CreateObjectDefinition( _
   ByVal typeName As String, _
   ByVal parent As String, _
   ByVal domain As AppDomain _
)
[C#]
AbstractObjectDefinition CreateObjectDefinition(
   string typeName,
   string parent,
   AppDomain domain
);

Parameters

typeName
The FullName of the Type of the defined object.
parent
The name of the parent object definition (if any).
domain
The AppDomain against which any class names will be resolved into Type instances. It can be null to register the object class just by name.

Return Value

An AbstractObjectDefinition instance.

See Also

IObjectDefinitionFactory Interface | Spring.Objects.Factory.Support Namespace