public static IObservable <Unit> ObserveAnyChange <TKey, TValue>(this IReadOnlyReactiveDictionary <TKey, TValue> reactiveCollection)
 {
     return(Observable.Merge(
                reactiveCollection.ObserveReset().AsUnitObservable(),
                reactiveCollection.ObserveAdd().AsUnitObservable(),
                reactiveCollection.ObserveRemove().AsUnitObservable(),
                reactiveCollection.ObserveReplace().AsUnitObservable()));
 }
Esempio n. 2
0
 public IObservable <DictionaryAddEvent <TKey, TValue> > ObserveAdd()
 {
     return(_inner.ObserveAdd());
 }