Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectNameGenerator.GenerateObjectName Method

Generates an object name for the given object definition.

[Visual Basic]
Public Sub GenerateObjectName( _
   ByVal definition As IObjectDefinition, _
   ByVal registry As IObjectDefinitionRegistry _
)
[C#]
string GenerateObjectName(
   IObjectDefinition definition,
   IObjectDefinitionRegistry registry
);

Parameters

definition
The object definition to generate a name for.
registry
The object definitions registry that the given definition is supposed to be registerd with

Return Value

the generated object name

See Also

IObjectNameGenerator Interface | Spring.Objects.Factory.Support Namespace