ObservableDictionaryTKey, TValue Class |
Namespace: Ptv.XServer.Controls.Map.Tools
public class ObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, INotifyCollectionChanged
The ObservableDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
ObservableDictionaryTKey, TValue | Initializes a new instance of the ObservableDictionaryTKey, TValue class. Simple constructor of the ObservableDictionary class taking no parameters. | |
ObservableDictionaryTKey, TValue(IDictionaryTKey, TValue) | Initializes a new instance of the ObservableDictionaryTKey, TValue class. | |
ObservableDictionaryTKey, TValue(IEqualityComparerTKey) | Initializes a new instance of the ObservableDictionaryTKey, TValue class. | |
ObservableDictionaryTKey, TValue(Int32) | Initializes a new instance of the ObservableDictionaryTKey, TValue class. | |
ObservableDictionaryTKey, TValue(IDictionaryTKey, TValue, IEqualityComparerTKey) | Initializes a new instance of the ObservableDictionaryTKey, TValue class. | |
ObservableDictionaryTKey, TValue(Int32, IEqualityComparerTKey) | Initializes a new instance of the ObservableDictionaryTKey, TValue class. |
Name | Description | |
---|---|---|
Count | Gets the count of elements in the dictionary. See Count. | |
IsReadOnly | Gets a value indicating whether the dictionary is observable. See IsReadOnly. | |
Item | Finds the value matching with a given key. | |
Keys | Gets the collection of keys in the dictionary. See Keys. | |
Values | Gets the collection of values in the dictionary. See Values. |
Name | Description | |
---|---|---|
Add(KeyValuePairTKey, TValue) | Adds a key value pair to the dictionary. | |
Add(TKey, TValue) | Adds a new key value pair to the dictionary. | |
Clear | Clears the dictionary and removes all items. | |
Contains | Contains(T) | |
ContainsKey | ContainsKey(TKey) | |
CopyTo | CopyTo(T, Int32) | |
GetEnumerator | GetEnumerator | |
Remove(KeyValuePairTKey, TValue) | Removes a given item from the dictionary. | |
Remove(TKey) | Removes a certain item from the dictionary. | |
TryGetValue | TryGetValue(TKey, TValue) |
Name | Description | |
---|---|---|
CollectionChanged | The event which is sent on a change. |
Name | Description | |
---|---|---|
ForEachKeyValuePairTKey, TValue |
Processes the given elements through a given action, either in parallel or in sequence,
depending on the requested degree of parallelism.
(Defined by MapServiceExtensions.) | |
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |