Share via


UnityContainerExtensions.RegisterType Method

Include Protected Members
Include Inherited Members

Overload List

  Name Description
Public methodStatic member RegisterType<TFrom, TTo>(IUnityContainer, array<InjectionMember[])
Register a type mapping with the container.
Public methodStatic member RegisterType<T>(IUnityContainer, array<InjectionMember[])
Register a type with specific members to be injected.
Public methodStatic member RegisterType<T>(IUnityContainer, LifetimeManager, array<InjectionMember[])
Register a LifetimeManager for the given type with the container. No type mapping is performed for this type.
Public methodStatic member RegisterType<TFrom, TTo>(IUnityContainer, LifetimeManager, array<InjectionMember[])
Register a type mapping with the container, where the created instances will use the given LifetimeManager.
Public methodStatic member RegisterType<TFrom, TTo>(IUnityContainer, String, array<InjectionMember[])
Register a type mapping with the container.
Public methodStatic member RegisterType<T>(IUnityContainer, String, array<InjectionMember[])
Register a LifetimeManager for the given type with the container. No type mapping is performed for this type.
Public methodStatic member RegisterType(IUnityContainer, Type, array<InjectionMember[])
Register a type with specific members to be injected.
Public methodStatic member RegisterType<T>(IUnityContainer, String, LifetimeManager, array<InjectionMember[])
Register a LifetimeManager for the given type and name with the container. No type mapping is performed for this type.
Public methodStatic member RegisterType<TFrom, TTo>(IUnityContainer, String, LifetimeManager, array<InjectionMember[])
Register a type mapping with the container, where the created instances will use the given LifetimeManager.
Public methodStatic member RegisterType(IUnityContainer, Type, LifetimeManager, array<InjectionMember[])
Register a LifetimeManager for the given type and name with the container. No type mapping is performed for this type.
Public methodStatic member RegisterType(IUnityContainer, Type, String, array<InjectionMember[])
Register a LifetimeManager for the given type and name with the container. No type mapping is performed for this type.
Public methodStatic member RegisterType(IUnityContainer, Type, Type, array<InjectionMember[])
Register a type mapping with the container.
Public methodStatic member RegisterType(IUnityContainer, Type, String, LifetimeManager, array<InjectionMember[])
Register a LifetimeManager for the given type and name with the container. No type mapping is performed for this type.
Public methodStatic member RegisterType(IUnityContainer, Type, Type, LifetimeManager, array<InjectionMember[])
Register a type mapping with the container, where the created instances will use the given LifetimeManager.
Public methodStatic member RegisterType(IUnityContainer, Type, Type, String, array<InjectionMember[])
Register a type mapping with the container.

See Also

UnityContainerExtensions Class

UnityContainerExtensions Members

Microsoft.Practices.Unity Namespace