Class ObservableValuesDictionary<TKey, TValue\>
Last update: 09.03.2026Namespace: VM.Collections
Assembly: VM.dll
public class ObservableValuesDictionary<TKey, TValue>
Type Parameters
TKey
TValue
Inheritance
object ← ObservableValuesDictionary<TKey, TValue>
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
ObservableValuesDictionary()
public ObservableValuesDictionary()
Properties
Count
public int Count { get; }
Property Value
int
IsReadOnly
public bool IsReadOnly { get; }
Property Value
bool
Keys
public ICollection<TKey> Keys { get; }
Property Value
ICollection<TKey>
Values
public ReadOnlyObservableCollection<TValue> Values { get; }
Property Value
ReadOnlyObservableCollection<TValue>
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<TKey, TValue>)
public bool Contains(KeyValuePair<TKey, TValue> item)
Parameters
item KeyValuePair<TKey, TValue>
Returns
bool
ContainsKey(TKey)
public bool ContainsKey(TKey key)
Parameters
key TKey
Returns
bool
ContainsValue(TValue)
public bool ContainsValue(TValue value)
Parameters
value TValue
Returns
bool
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
IEnumerator
Remove(TKey)
public virtual bool Remove(TKey key)
Parameters
key TKey
Returns
bool
TryGetValue(TKey, out TValue)
public bool TryGetValue(TKey key, out TValue value)
Parameters
key TKey
value TValue
Returns
bool