When ObservableDictionary is used in place of UniRx.ReactiveDictionary, I often want an interface equivalent to IReadonlyReactiveDictionary (I want one interface to handle both IReadOnlyDictionary and IObservableCollection).
So I defined IReadOnlyObservableDictionary and ObservableDictionary implements it.
2: Add ObservableDictionaryR3Extensions
When using ObservableDictionary in R3, it is not easy to handle with Observable<KeyValuePair<TKey, TValue>> ( x.Value.Key / x.Value.Value is frequently used and unreadable).
Therefore, I added an extension method that can handle it without KeyValuePair.
1: Add IReadOnlyObservableDictionary
When
ObservableDictionary
is used in place ofUniRx.ReactiveDictionary
, I often want an interface equivalent toIReadonlyReactiveDictionary
(I want one interface to handle bothIReadOnlyDictionary
andIObservableCollection
).So I defined
IReadOnlyObservableDictionary
andObservableDictionary
implements it.2: Add ObservableDictionaryR3Extensions
When using
ObservableDictionary
in R3, it is not easy to handle withObservable<KeyValuePair<TKey, TValue>>
(x.Value.Key
/x.Value.Value
is frequently used and unreadable).Therefore, I added an extension method that can handle it without KeyValuePair.