Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NamespaceParserRegistry.RegisterParser(INamespaceParser) Method

Pegisters parser, using default namespace and schema location as defined by the NamespaceParserAttribute.

[Visual Basic]
Public Overloads Shared Sub RegisterParser( _
   ByVal parser As INamespaceParser _
)
[C#]
public static void RegisterParser(
   INamespaceParser parser
);

Parameters

parser
The parser instance.

Exceptions

Exception Type Condition
ArgumentNullException If parser is a null reference (Nothing in Visual Basic).

See Also

NamespaceParserRegistry Class | Spring.Objects.Factory.Xml Namespace | NamespaceParserRegistry.RegisterParser Overload List