Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractConfigurer.ResolveRequiredType Method

Resolves the supplied value into a Type instance.

[Visual Basic]
Protected Overridable Sub ResolveRequiredType( _
   ByVal value As Object, _
   ByVal errorContextSource As String, _
   ByVal errorContext As String _
)
[C#]
protected virtual Type ResolveRequiredType(
   object value,
   string errorContextSource,
   string errorContext
);

Parameters

value
The object that is to be resolved into a Type instance.
errorContextSource
The error context source.
errorContext
The error context string.

Return Value

A resolved Type.

Remarks

This (default) implementation supports resolving Strings and Types. Only override this method if you want to key your type alias on something other than Strings and Types.

Exceptions

Exception Type Condition
ObjectsException If the supplied value is a null reference (Nothing in Visual Basic), or the supplied value cannot be resolved.

See Also

AbstractConfigurer Class | Spring.Objects.Factory.Config Namespace