T
Type of object to perform injection on
LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
BuildUp<T> Method
See Also 
Leadtools.Dicom.AddIn Namespace > ServiceLocator Class : BuildUp<T> Method



existing
Instance to build up.
existing
Instance to build up.
Run an existing object through the container and perform injection on it.

Syntax

Visual Basic (Declaration) 
Public Shared Function BuildUp(Of T)( _
   ByVal existing As T _
) As T
Visual Basic (Usage)Copy Code
Dim existing As T
Dim value As T
 
value = ServiceLocator.BuildUp(Of T)(existing)
C# 
public static T BuildUp<T>( 
   T existing
)
C++/CLI 
public:
static T^ BuildUpgeneric<typename T>
( 
   T^ existing
) 

Parameters

existing
Instance to build up.

Type Parameters

T
Type of object to perform injection on

Return Value

The resulting object. By default, this will be existing, but container extensions may add things like automatic proxy creation which would cause this to return a different object (but still type compatible with T).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features