Walter.BOM
TryGetDefaultInstance<T> Method
Walter.BOM Assembly > Walter Namespace > DIContainer Class : TryGetDefaultInstance<T> Method
Try and get a default instance
Syntax
public static bool TryGetDefaultInstance<T>( 
   out T? instance
)
where T: class

Parameters

instance

Type Parameters

T

Return Value

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