Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionBuilder.AddDependsOn Method

Adds the specified object name to the list of objects that this definition depends on.

[Visual Basic]
Public Sub AddDependsOn( _
   ByVal objectName As String _
)
[C#]
public ObjectDefinitionBuilder AddDependsOn(
   string objectName
);

Parameters

objectName
Name of the object.

Return Value

The current

ObjectDefinitionBuilder
.

See Also

ObjectDefinitionBuilder Class | Spring.Objects.Factory.Support Namespace