Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticListableObjectFactory.GetAliases Method

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

[Visual Basic]
Public NotOverridable Sub GetAliases( _
   ByVal name As String _
) _
    Implements IObjectFactory.GetAliases
[C#]
public string[] GetAliases(
   string name
);

Parameters

name
The object name to check for aliases.

Return Value

The aliases, or an empty array if none.

Implements

IObjectFactory.GetAliases

Exceptions

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

See Also

StaticListableObjectFactory Class | Spring.Objects.Factory.Support Namespace