Replicate the instance of type T when new contexts are created
Namespace: AppCan.Core.ServicesAssembly: AppCan.Core (in AppCan.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public IUnityContainer ReplicateInstance<T>(
T instance
)
|
Visual Basic |
---|
Public Function ReplicateInstance(Of T) ( _
instance As T _
) As IUnityContainer |
Visual C++ |
---|
public:
generic<typename T>
IUnityContainer^ ReplicateInstance(
T instance
) |
Parameters
- instance
- Type: T
The instance to be returned for the specified type
Type Parameters
- T
- The type of the instance to replicate
Return Value
The container
See Also