Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.CreateObject Method

Return an unconfigured(!) instance (possibly shared or independent) of the given object name.

[Visual Basic]
Public NotOverridable Sub CreateObject( _
   ByVal name As String, _
   ByVal requiredType As Type, _
   ByVal arguments As Object _
) _
    Implements IObjectFactory.CreateObject
[C#]
public object CreateObject(
   string name,
   Type requiredType,
   object[] arguments
);

Implements

IObjectFactory.CreateObject

Remarks

This method will only instantiate the requested object. It does NOT inject any dependencies!

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace | CreateObject