Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultListableObjectFactory.GetObjectNamesForType(Type) Method

Return the names of objects matching the given Type (including subclasses), judging from the object definitions.

[Visual Basic]
Public NotOverridable Overloads Sub GetObjectNamesForType( _
   ByVal type As Type _
) _
    Implements IListableObjectFactory.GetObjectNamesForType
[C#]
public string[] GetObjectNamesForType(
   Type type
);

Parameters

type
The Type (class or interface) to match, or a null reference (Nothing in Visual Basic) for all object names.

Return Value

The names of all objects defined in this factory, or an empty array if none are defined.

Implements

IListableObjectFactory.GetObjectNamesForType

See Also

DefaultListableObjectFactory Class | Spring.Objects.Factory.Support Namespace | DefaultListableObjectFactory.GetObjectNamesForType Overload List | GetObjectNamesForType