Share via


ILifetimeContainer Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

The ILifetimeContainer type exposes the following members.

Methods

  Name Description
Ee649590.pubmethod(en-us,PandP.10).gif Add
Adds an object to the lifetime container.
Ee649590.pubmethod(en-us,PandP.10).gif Contains
Determine if a given object is in the lifetime container.
Ee649590.pubmethod(en-us,PandP.10).gif Dispose (Inherited from IDisposable.)
Ee649590.pubmethod(en-us,PandP.10).gif GetEnumerator Overloaded.
Ee649590.pubmethod(en-us,PandP.10).gif Remove
Removes an item from the lifetime container. The item is not disposed.

Properties

  Name Description
Ee649590.pubproperty(en-us,PandP.10).gif Count
Gets the number of references in the lifetime container

See Also

ILifetimeContainer Interface

Microsoft.Practices.ObjectBuilder2 Namespace