Run an existing object through the container and perform injection on it.
public static BuildUp<>(
)
'Declaration
Public Shared Function BuildUp(Of )( _
ByVal As _
) As
'Usage
Dim existing As
Dim value As
value = ServiceLocator.BuildUp(Of T)(existing)
public static BuildUp<T>(
existing
)
function Leadtools.Dicom.AddIn.ServiceLocator.BuildUp(
existing
)
public:
static BuildUpgeneric<typename >
(
)
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).
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