Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NamespaceParserRegistry.RegisterParser(Type) Method

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

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

Parameters

parserType
The Type of the parser that will be activated when an element in its default namespace is encountered.

Exceptions

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

See Also

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