Register an instance of a type to be replicated

Namespace: AppCan.Core.Services
Assembly: AppCan.Core (in AppCan.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public IUnityContainer RegisterInstance(
	Type type,
	Object instance
)
Visual Basic
Public Function RegisterInstance ( _
	type As Type, _
	instance As Object _
) As IUnityContainer
Visual C++
public:
virtual IUnityContainer^ RegisterInstance(
	Type^ type, 
	Object^ instance
) sealed

Parameters

type
Type: System..::..Type
The type of the object
instance
Type: System..::..Object
The instance of the object

Return Value

The container

Implements

IServiceReplicator..::..RegisterInstance(Type, Object)

See Also