Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticListableObjectFactory.ConfigureObject(Object, String) Method

Injects dependencies into the supplied target instance using the named object definition.

[Visual Basic]
Public NotOverridable Overloads Sub ConfigureObject( _
   ByVal target As Object, _
   ByVal name As String _
) _
    Implements IObjectFactory.ConfigureObject
[C#]
public object ConfigureObject(
   object target,
   string name
);

Parameters

target
The object instance that is to be so configured.
name
The name of the object definition expressing the dependencies that are to be injected into the supplied instance.

Implements

IObjectFactory.ConfigureObject

Exceptions

Exception Type Condition
NotSupportedException This feature is not currently supported.

See Also

StaticListableObjectFactory Class | Spring.Objects.Factory.Support Namespace | StaticListableObjectFactory.ConfigureObject Overload List | ConfigureObject