HierarchicalLifetimeManager Class

A special lifetime manager which works like ContainerControlledLifetimeManager, except that in the presence of child containers, each child gets it's own instance of the object, instead of sharing one in the common parent.

Namespace: Microsoft.Practices.Unity
Assembly: Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)

Syntax

'Declaration
Public Class HierarchicalLifetimeManager _
    Inherits ContainerControlledLifetimeManager
public class HierarchicalLifetimeManager : ContainerControlledLifetimeManager
public ref class HierarchicalLifetimeManager : public ContainerControlledLifetimeManager
public class HierarchicalLifetimeManager extends ContainerControlledLifetimeManager

Inheritance Hierarchy

System.Object
Microsoft.Practices.Unity.LifetimeManager
Microsoft.Practices.Unity.SynchronizedLifetimeManager
Microsoft.Practices.Unity.ContainerControlledLifetimeManager
Microsoft.Practices.Unity.HierarchicalLifetimeManager

See Also

HierarchicalLifetimeManager Members

Microsoft.Practices.Unity Namespace