[]
Represents a collection of key/value pairs that are sorted on the key. Values should support IOwnedObject interface, collection updates their Owner property.
public class OwnedSortedDictionary<TKey, TValue> : ObservableSortedDictionary<TKey, TValue>, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IDictionary, ICollection, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IOwnedObject where TValue : IOwnedObject
| Name | Description |
|---|---|
| TKey | The type of the keys in the dictionary. |
| TValue | The type of the values in the dictionary. |
| Name | Description |
|---|---|
| OwnedSortedDictionary() |
| Name | Description |
|---|---|
| Owner | Gets a collection owner. |
| Name | Description |
|---|---|
| AddItem(TKey, TValue) | Adds an element into collection with specified key. |
| ClearItems() | Removes all elements from the collection. |
| RemoveItem(TKey) | Removes an element with specified key. |
| SetItem(TKey, TValue) | Replaces the element with the specified key. |
| SetOwner(object) | Sets the owner of the current object. |