Freigeben über


LifetimeContainer 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 LifetimeContainer type exposes the following members.

Constructors

  Name Description
Ee650971.pubmethod(en-us,PandP.10).gif LifetimeContainer

Methods

  Name Description
Ee650971.pubmethod(en-us,PandP.10).gif Add
Adds an object to the lifetime container.
Ee650971.pubmethod(en-us,PandP.10).gif Contains
Determine if a given object is in the lifetime container.
Ee650971.pubmethod(en-us,PandP.10).gif Dispose Overloaded.
Ee650971.pubmethod(en-us,PandP.10).gif Equals (Inherited from Object.)
Ee650971.protmethod(en-us,PandP.10).gif Finalize (Inherited from Object.)
Ee650971.pubmethod(en-us,PandP.10).gif GetEnumerator
Returns an enumerator that iterates through the lifetime container.
Ee650971.pubmethod(en-us,PandP.10).gif GetHashCode (Inherited from Object.)
Ee650971.pubmethod(en-us,PandP.10).gif GetType (Inherited from Object.)
Ee650971.protmethod(en-us,PandP.10).gif MemberwiseClone (Inherited from Object.)
Ee650971.pubmethod(en-us,PandP.10).gif Remove
Removes an item from the lifetime container. The item is not disposed.
Ee650971.pubmethod(en-us,PandP.10).gif ToString (Inherited from Object.)

Properties

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

Explicit Interface Implementations

  Name Description
Ee650971.pubinterface(en-us,PandP.10).gifEe650971.privmethod(en-us,PandP.10).gif IEnumerable.GetEnumerator
Returns an enumerator that iterates through the lifetime container.

See Also

LifetimeContainer Class

Microsoft.Practices.ObjectBuilder2 Namespace