Class ObservableConcurrentDictionary<TKey, TValue\>
Last update: 16.07.2025Namespace: VM.Collections
Assembly: VM.dll
public class ObservableConcurrentDictionary<TKey, TValue>
Type Parameters
TKey
TValue
Inheritance
object ← ObservableConcurrentDictionary<TKey, TValue>
Constructors
ObservableConcurrentDictionary()
public ObservableConcurrentDictionary()
Properties
Count
public int Count { get; }
Property Value
IsReadOnly
public bool IsReadOnly { get; }
Property Value
Keys
public ICollection<TKey> Keys { get; }
Property Value
ICollection<TKey>
Values
public ICollection<TValue> Values { get; }
Property Value
ICollection<TValue>
this[TKey]
public TValue this[TKey key] { get; set; }
Property Value
TValue
Methods
<>OnPropertyChanged(PropertyChangedEventArgs)
protected void <>OnPropertyChanged(PropertyChangedEventArgs eventArgs)
Parameters
eventArgs PropertyChangedEventArgs
Add(TKey, TValue)
public void Add(TKey key, TValue value)
Parameters
key TKey
value TValue
Clear()
public void Clear()
Contains(KeyValuePair<TKey, TValue>)
public bool Contains(KeyValuePair<TKey, TValue> item)
Parameters
item KeyValuePair<TKey, TValue>
Returns
ContainsKey(TKey)
public bool ContainsKey(TKey key)
Parameters
key TKey
Returns
CopyTo(KeyValuePair<TKey, TValue>[], int)
public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
Parameters
array KeyValuePair<TKey, TValue>[]
arrayIndex int
GetEnumerator()
public IEnumerator GetEnumerator()
Returns
Remove(TKey)
public bool Remove(TKey key)
Parameters
key TKey
Returns
TryGetValue(TKey, out TValue)
public bool TryGetValue(TKey key, out TValue value)
Parameters
key TKey
value TValue
Returns
CollectionChanged
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
NotifyCollectionChangedEventHandler
PropertyChanged
public event PropertyChangedEventHandler PropertyChanged