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 fromType,
	Type toType,
	LifetimeManager lifetimeManager = null
)
Visual Basic
Public Function RegisterType ( _
	fromType As Type, _
	toType As Type, _
	Optional lifetimeManager As LifetimeManager = Nothing _
) As IUnityContainer
Visual C++
public:
virtual IUnityContainer^ RegisterType(
	Type^ fromType, 
	Type^ toType, 
	LifetimeManager^ lifetimeManager = nullptr
) sealed

Parameters

fromType
Type: System..::..Type
Convert from this type
toType
Type: System..::..Type
to this type
lifetimeManager (Optional)
Type: LifetimeManager

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

Return Value

returns the container

Implements

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

See Also