UnityContainerExtensions.RegisterType<TFrom, TTo> Method

Overload List

  Name Description
Ff660988.pubmethod(en-us,PandP.20).gifFf660988.static(en-us,PandP.20).gif RegisterType<TFrom, TTo>(IUnityContainer, array<InjectionMember[])
Register a type mapping with the container.
Ff660988.pubmethod(en-us,PandP.20).gifFf660988.static(en-us,PandP.20).gif RegisterType<TFrom, TTo>(IUnityContainer, LifetimeManager, array<InjectionMember[])
Register a type mapping with the container, where the created instances will use the given LifetimeManager.
Ff660988.pubmethod(en-us,PandP.20).gifFf660988.static(en-us,PandP.20).gif RegisterType<TFrom, TTo>(IUnityContainer, String, array<InjectionMember[])
Register a type mapping with the container.
Ff660988.pubmethod(en-us,PandP.20).gifFf660988.static(en-us,PandP.20).gif RegisterType<TFrom, TTo>(IUnityContainer, String, LifetimeManager, array<InjectionMember[])
Register a type mapping with the container, where the created instances will use the given LifetimeManager.

See Also

UnityContainerExtensions Class

UnityContainerExtensions Members

Microsoft.Practices.Unity Namespace