Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TypeRegistry.RegisterType(Type) Method

Registers short type name as an alias for the supplied Type.

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

Parameters

type
The Type to register.

Exceptions

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

See Also

TypeRegistry Class | Spring.Core.TypeResolution Namespace | TypeRegistry.RegisterType Overload List