Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IConfigurableListableObjectFactory.ConfigureObject Method

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

[Visual Basic]
Public Sub ConfigureObject( _
   ByVal target As Object, _
   ByVal name As String, _
   ByVal definition As IObjectDefinition _
)
[C#]
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

IConfigurableListableObjectFactory Interface | Spring.Objects.Factory.Config Namespace | ConfigureObject