Register an instance of a type to be replicated
Namespace: AppCan.Core.ServicesAssembly: AppCan.Core (in AppCan.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public IUnityContainer RegisterInstance<T>(
T instance
)
|
Visual Basic |
---|
Public Function RegisterInstance(Of T) ( _
instance As T _
) As IUnityContainer |
Visual C++ |
---|
public:
generic<typename T>
virtual IUnityContainer^ RegisterInstance(
T instance
) sealed |
Parameters
- instance
- Type: T
the actual instance of the type to register
Type Parameters
Return Value
returns IUnityContainer
Implements
IServiceReplicator..::..RegisterInstance<(Of <<'(T>)>>)(T)
See Also