Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.DestroyObject Method

Destroy the target object.

[Visual Basic]
Protected MustOverride Sub DestroyObject( _
   ByVal name As String, _
   ByVal target As Object _
)
[C#]
protected abstract void DestroyObject(
   string name,
   object target
);

Parameters

name
The name of the object.
target
The target object instance to destroyed.

Remarks

Must destroy objects that depend on the given object before the object itself, nor throw an exception.

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace