Show / Hide Table of Contents

Interface ObservableDictionary<TKey, TValue>

A observable collection of key/value pairs.
Inherited Members
System.Collections.Generic.IDictionary<TKey, TValue>.Add(TKey, TValue)
System.Collections.Generic.IDictionary<TKey, TValue>.ContainsKey(TKey)
System.Collections.Generic.IDictionary<TKey, TValue>.Remove(TKey)
System.Collections.Generic.IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)
System.Collections.Generic.IDictionary<TKey, TValue>.Item[TKey]
System.Collections.Generic.IDictionary<TKey, TValue>.Keys
System.Collections.Generic.IDictionary<TKey, TValue>.Values
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Add(System.Collections.Generic.KeyValuePair<TKey, TValue>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Clear()
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Contains(System.Collections.Generic.KeyValuePair<TKey, TValue>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.CopyTo(System.Collections.Generic.KeyValuePair<TKey, TValue>[], System.Int32)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Remove(System.Collections.Generic.KeyValuePair<TKey, TValue>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Count
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.IsReadOnly
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>.GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
Namespace: TinkState
Assembly: Nadako.TinkState.dll
Syntax
public interface ObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
Type Parameters
Name Description
TKey The type of keys in the dictionary.
TValue The type of values in the dictionary.
Remarks
This is an observable wrapper around System.Collections.Generic.Dictionary`2 that lets auto-Observables track any changes to the collection.

Methods

Observe()

Return an Observable<T> object that represent a read-only version of this dictionary. It will trigger its bindings and tracking auto-observables every time the list is changed.
Declaration
Observable<IReadOnlyDictionary<TKey, TValue>> Observe()
Returns
Type Description
Observable<System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>> An observable for tracking all list changes.
Remarks
The value of the returned observable is a read-only interface to the internal storage of this dictionary, meaning that further access to its items will not be tracked by auto-observables and its contents might change over time.
In This Article
Back to top Generated by DocFX