- existing
- Instance to build up.
Visual Basic (Usage) | Copy Code |
---|---|
Dim existing As T Dim value As T value = ServiceLocator.BuildUp(Of 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).Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7