Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectFactory.GetAliases Method

Return the aliases for the given object name, if defined.

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

Parameters

name
The object name to check for aliases.

Return Value

The aliases, or an empty array if none.

Remarks

Will ask the parent factory if the object cannot be found in this factory instance.

Exceptions

Exception Type Condition
NoSuchObjectDefinitionException If there's no such object definition.

See Also

IObjectFactory Interface | Spring.Objects.Factory Namespace