Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.ContainsObject Method

Does this object factory or one of its parent factories contain an object with the given name?

[Visual Basic]
Public NotOverridable Sub ContainsObject( _
   ByVal name As String _
) _
    Implements IObjectFactory.ContainsObject
public bool ContainsObject(
   string name




This method scans the object factory hierarchy starting with the current factory instance upwards. Use ContainsLocalObject if you want to explicitely check just this object factory instance.

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace