Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RemotingNamespaceParser.ParseElement Method

Parse the specified element and register any resulting IObjectDefinitions with the IObjectDefinitionRegistry that is embedded in the supplied ParserContext.

[Visual Basic]
Public Overrides Sub ParseElement( _
   ByVal element As XmlElement, _
   ByVal parserContext As ParserContext _
) _
    Implements INamespaceParser.ParseElement
[C#]
public override IObjectDefinition ParseElement(
   XmlElement element,
   ParserContext parserContext
);

Parameters

element
The element to be parsed into one or more IObjectDefinitions
parserContext
The object encapsulating the current state of the parsing process.

Return Value

The primary IObjectDefinition (can be null as explained above)

Implements

INamespaceParser.ParseElement

Remarks

Implementations should return the primary IObjectDefinition that results from the parse phase if they wish to used nested inside (for example) a

<property>
tag.

Implementations may return null if they will not be used in a nested scenario.

See Also

RemotingNamespaceParser Class | Spring.Remoting.Config Namespace