Include Protected Members
Include Inherited Members
A hierarchical service provider that stores IServiceProvider objects in a sorted collection for an ordered retrieval. When GetService is called to retrieve a service, the service providers are queried in a specific order. This is useful when multiple service providers are combined, such as in the WindowPane implementation.
The ServiceProviderHierarchy type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | ServiceProviderHierarchy | Initializes a new instance of ServiceProviderHierarchy. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add | Adds an element with the specified key and value into the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | Clear | Removes all elements from the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | ContainsKey | Determines whether the SortedList<TKey, TValue> contains a specific key. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | ContainsValue | Determines whether the SortedList<TKey, TValue> contains a specific value. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetEnumerator | Returns an enumerator that iterates through the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetService | Gets a service of the specified type. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | IndexOfKey | Searches for the specified key and returns the zero-based index within the entire SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | IndexOfValue | Searches for the specified value and returns the zero-based index of the first occurrence within the entire SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Remove | Removes the element with the specified key from the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | RemoveAt | Removes the element at the specified index of the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | ToString | Returns a String that represents the current Object. (Inherited from Object.) | 
| .gif) | TrimExcess | Sets the capacity to the actual number of elements in the SortedList<TKey, TValue>, if that number is less than 90 percent of current capacity. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | TryGetValue | Gets the value associated with the specified key. (Inherited from SortedList<Int32, IServiceProvider>.) | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Capacity | Gets or sets the number of elements that the SortedList<TKey, TValue> can contain. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | Comparer | Gets the IComparer<T> for the sorted list. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | Count | Gets the number of key/value pairs contained in the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | Item | Gets or sets the value associated with the specified key. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | Keys | Gets a collection containing the keys in the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) | Values | Gets a collection containing the values in the SortedList<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.Add | Adds a key/value pair to the ICollection<T>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.Add | Adds an element with the provided key and value to the IDictionary. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.Contains | Determines whether the ICollection<T> contains a specific element. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.Contains | Determines whether the IDictionary contains an element with the specified key. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | ICollection.CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.GetEnumerator | Returns an IDictionaryEnumerator for the IDictionary. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.IsFixedSize | Gets a value indicating whether the IDictionary has a fixed size. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.IsReadOnly | Gets a value indicating whether the IDictionary is read-only. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | ICollection.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.Item | Gets or sets the element with the specified key. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary<TKey, TValue>.Keys | Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.Keys | Gets an ICollection containing the keys of the IDictionary. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.Remove | Removes the first occurrence of a specific key/value pair from the ICollection<T>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.Remove | Removes the element with the specified key from the IDictionary. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary<TKey, TValue>.Values | Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. (Inherited from SortedList<Int32, IServiceProvider>.) | 
| .gif) .gif) | IDictionary.Values | Gets an ICollection containing the values in the IDictionary. (Inherited from SortedList<Int32, IServiceProvider>.) | 
Top