Walter.BOM
GetNamedInstance<T> Method
Walter.BOM Assembly > Walter Namespace > DIContainer Class : GetNamedInstance<T> Method

The named.
Gets the named instance.
Syntax
public static T GetNamedInstance<T>( 
   string named
)
where T: class

Parameters

named
The named.

Type Parameters

T

Return Value

the named T
Exceptions
ExceptionDescription
If the type is not registered or the named type is of a different type
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DIContainer Class
DIContainer Members