Register the type with the container and keep the registration in the list for replication

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

Syntax

C#
public IUnityContainer RegisterType(
	Type type,
	LifetimeManager lifetimeManager = null
)
Visual Basic
Public Function RegisterType ( _
	type As Type, _
	Optional lifetimeManager As LifetimeManager = Nothing _
) As IUnityContainer
Visual C++
public:
virtual IUnityContainer^ RegisterType(
	Type^ type, 
	LifetimeManager^ lifetimeManager = nullptr
) sealed

Parameters

type
Type: System..::..Type

[Missing <param name="type"/> documentation for "M:AppCan.Core.Services.ServiceReplicator.RegisterType(System.Type,Microsoft.Practices.Unity.LifetimeManager)"]

lifetimeManager (Optional)
Type: LifetimeManager

[Missing <param name="lifetimeManager"/> documentation for "M:AppCan.Core.Services.ServiceReplicator.RegisterType(System.Type,Microsoft.Practices.Unity.LifetimeManager)"]

Return Value

[Missing <returns> documentation for "M:AppCan.Core.Services.ServiceReplicator.RegisterType(System.Type,Microsoft.Practices.Unity.LifetimeManager)"]

Implements

IServiceReplicator..::..RegisterType(Type, LifetimeManager)

See Also