Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAutowireCapableObjectFactory.AutowireObjectProperties Method

Autowire the object properties of the given object instance by name or Type.

[Visual Basic]
Public Sub AutowireObjectProperties( _
   ByVal instance As Object, _
   ByVal autowireMode As AutoWiringMode, _
   ByVal dependencyCheck As Boolean _
)
[C#]
void AutowireObjectProperties(
   object instance,
   AutoWiringMode autowireMode,
   bool dependencyCheck
);

Parameters

instance
The existing object instance.
autowireMode
The desired autowiring mode.
dependencyCheck
Whether to perform a dependency check for the object.

Exceptions

Exception Type Condition
ObjectsException If the wiring fails.

See Also

IAutowireCapableObjectFactory Interface | Spring.Objects.Factory.Config Namespace | AutoWiringMode