Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractApplicationContext.GetAliases Method

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

[Visual Basic]
Public NotOverridable Sub GetAliases( _
   ByVal name As String _
) _
    Implements IObjectDefinitionRegistry.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

IObjectDefinitionRegistry.GetAliases

Exceptions

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

See Also

AbstractApplicationContext Class | Spring.Context.Support Namespace | GetAliases