Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.RemoveSingleton Method

Remove the object identified by the supplied name from this factory's singleton cache.

[Visual Basic]
Protected Sub RemoveSingleton( _
   ByVal name As String _
)
[C#]
protected void RemoveSingleton(
   string name
);

Parameters

name
The name of the object that is to be removed from the singleton cache.

Exceptions

Exception Type Condition
ArgumentNullException If the name argument is a null reference (Nothing in Visual Basic) or consists wholly of whitespace characters.

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace