Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IVirtualEnvironment.CreateInstanceFromVirtualPath Method

Creates an instance from the given virtual path

[Visual Basic]
Public Sub CreateInstanceFromVirtualPath( _
   ByVal absoluteVirtualPath As String, _
   ByVal requiredBaseType As Type _
)
[C#]
object CreateInstanceFromVirtualPath(
   string absoluteVirtualPath,
   Type requiredBaseType
);

Parameters

absoluteVirtualPath
the absolute (=rooted) virtual path
requiredBaseType
the required base type

See Also

IVirtualEnvironment Interface | Spring.Util Namespace