Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IListableObjectFactory.ContainsObjectDefinition Method

Check if this object factory contains an object definition with the given name.

[Visual Basic]
Public Sub ContainsObjectDefinition( _
   ByVal name As String _
)
[C#]
bool ContainsObjectDefinition(
   string name
);

Parameters

name
The name of the object to look for.

Return Value

true if this object factory contains an object definition with the given name.

Remarks

Does not consider any hierarchy this factory may participate in.

Note    Ignores any singleton objects that have been registered by other means than object definitions.

See Also

IListableObjectFactory Interface | Spring.Objects.Factory Namespace