Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinitionParser.ParseElement Method

Parse the specified XmlElement and register the resulting ObjectDefinitions with the Registry IObjectDefinitionRegistry embedded in the supplied ParserContext

[Visual Basic]
Public Sub ParseElement( _
   ByVal element As XmlElement, _
   ByVal parserContext As ParserContext _
)
[C#]
IObjectDefinition ParseElement(
   XmlElement element,
   ParserContext parserContext
);

Parameters

element
The element to be parsed.
parserContext
TThe object encapsulating the current state of the parsing process. Provides access to a IObjectDefinitionRegistry

Return Value

The primary object definition.

Remarks

This method is never invoked if the parser is namespace aware and was called to process the root node.

See Also

IObjectDefinitionParser Interface | Spring.Objects.Factory.Xml Namespace