Freigeben über


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

Constructors

  Name Description
Ee650718.pubmethod(en-us,PandP.10).gif Locator Overloaded.

Methods

  Name Description
Ee650718.pubmethod(en-us,PandP.10).gif Add
Adds an object to the locator, with the given key.
(Overrides ReadWriteLocator.Add(Object, Object).)
Ee650718.pubmethod(en-us,PandP.10).gif Contains
Determine if the locator contains an object for the given key.
(Overrides ReadableLocator.Contains(Object).)
Ee650718.pubmethod(en-us,PandP.10).gif Equals (Inherited from Object.)
Ee650718.protmethod(en-us,PandP.10).gif Finalize (Inherited from Object.)
Ee650718.pubmethod(en-us,PandP.10).gif FindBy
Finds objects in the locator using the predicate, and returns a temporary locator filled with the found objects.
(Inherited from ReadableLocator.)
Ee650718.pubmethod(en-us,PandP.10).gif Get Overloaded.
Ee650718.pubmethod(en-us,PandP.10).gif GetEnumerator
Returns an enumerator that iterates through a locator.
(Overrides ReadableLocator.GetEnumerator().)
Ee650718.pubmethod(en-us,PandP.10).gif GetHashCode (Inherited from Object.)
Ee650718.pubmethod(en-us,PandP.10).gif GetType (Inherited from Object.)
Ee650718.protmethod(en-us,PandP.10).gif MemberwiseClone (Inherited from Object.)
Ee650718.pubmethod(en-us,PandP.10).gif Remove
Removes an object from the locator.
(Overrides ReadWriteLocator.Remove(Object).)
Ee650718.pubmethod(en-us,PandP.10).gif ToString (Inherited from Object.)

Properties

  Name Description
Ee650718.pubproperty(en-us,PandP.10).gif Count
Gets the number of items in the locator.
(Overrides ReadableLocator.Count.)
Ee650718.pubproperty(en-us,PandP.10).gif ParentLocator
Gets the parent locator.
(Inherited from ReadableLocator.)
Ee650718.pubproperty(en-us,PandP.10).gif ReadOnly
Determines if the locator is read-only.
(Inherited from ReadWriteLocator.)

Explicit Interface Implementations

  Name Description
Ee650718.pubinterface(en-us,PandP.10).gifEe650718.privmethod(en-us,PandP.10).gif IEnumerable.GetEnumerator
Returns an enumerator that iterates through the locator.
(Inherited from ReadableLocator.)

See Also

Locator Class

Microsoft.Practices.ObjectBuilder2 Namespace