Adds an instance of an existing object to be replicated to new contexts
Namespace: AppCan.Core.ServicesAssembly: AppCan.Core (in AppCan.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public IUnityContainer ReplicateInstance( Type type, Object instance ) |
Visual Basic |
---|
Public Function ReplicateInstance ( _ type As Type, _ instance As Object _ ) As IUnityContainer |
Visual C++ |
---|
public: IUnityContainer^ ReplicateInstance( Type^ type, Object^ instance ) |
Parameters
- type
- Type: System..::..Type
The type to replicate
- instance
- Type: System..::..Object
The instance of the type to replicate