Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractApplicationContext.ConfigureObject(Object, String, IObjectDefinition) Method

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

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

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.
definition
An object definition that should be used to configure object.

See Also

AbstractApplicationContext Class | Spring.Context.Support Namespace | AbstractApplicationContext.ConfigureObject Overload List | ConfigureObject