Register an instance to be replicated
Namespace: AppCan.Core.ServicesAssembly: AppCan.Core (in AppCan.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
IUnityContainer RegisterInstance( Type type, Object instance ) |
Visual Basic |
---|
Function RegisterInstance ( _ type As Type, _ instance As Object _ ) As IUnityContainer |
Visual C++ |
---|
IUnityContainer^ RegisterInstance( Type^ type, Object^ instance ) |
Parameters
- type
- Type: System..::..Type
The type to be replicated
- instance
- Type: System..::..Object
The instance that will be replicated