Class ObservableValuesDictionary<TKey, TValue\>
Last update: 16.07.2025Namespace: VM.Collections
Assembly: VM.dll
public class ObservableValuesDictionary<tkey tvalue>
Type Parameters
TKey
TValue
Inheritance
object ←
ObservableValuesDictionary
Constructors
ObservableValuesDictionary()
public ObservableValuesDictionary()
Properties
Count
public int Count { get; }
Property Value
IsReadOnly
public bool IsReadOnly { get; }
Property Value
Keys
public ICollection<tkey> Keys { get; }
Property Value
Values
public ReadOnlyObservableCollection<tvalue> Values { get; }
Property Value
this[TKey]
public TValue this[TKey key] { get; set; }
Property Value
TValue
Methods
Add(TKey, TValue)
public void Add(TKey key, TValue value)
Parameters
key TKey
value TValue
Clear()
public void Clear()
Contains(KeyValuePair)
public bool Contains(KeyValuePair<tkey tvalue> item)
Parameters
item KeyValuePair
Returns
ContainsKey(TKey)
public bool ContainsKey(TKey key)
Parameters
key TKey
Returns
ContainsValue(TValue)
public bool ContainsValue(TValue value)
Parameters
value TValue
Returns
CopyTo(KeyValuePair[], int)
public void CopyTo(KeyValuePair<tkey tvalue>[] array, int arrayIndex)
Parameters
array KeyValuePair
arrayIndex int
GetEnumerator()
public IEnumerator GetEnumerator()
Returns
Remove(TKey)
public virtual 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