Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionParserHelper.PostProcessObjectNameAndAliases Method

Allows deriving classes to post process the name and aliases for the current element. By default does nothing and returns the unmodified objectName.

[Visual Basic]
Protected Overridable Sub PostProcessObjectNameAndAliases( _
   ByVal objectName As String, _
   ByVal aliases As ArrayList, _
   ByVal element As XmlElement, _
   ByVal containingDefinition As IObjectDefinition _
)
[C#]
protected virtual string PostProcessObjectNameAndAliases(
   string objectName,
   ArrayList aliases,
   XmlElement element,
   IObjectDefinition containingDefinition
);

Parameters

objectName
the object name obtained by the default algorithm from 'id' and 'name' attributes so far.
aliases
the object aliases obtained by the default algorithm from 'name' attribute so far.
element
the currently processed element.
containingDefinition
the containing object definition, may be null

Return Value

the new object name to be used.

Remarks

The aliases list passed in may be modified by an implementation of this method to reflect special needs.

See Also

ObjectDefinitionParserHelper Class | Spring.Objects.Factory.Xml Namespace