Ejemplo n.º 1
0
 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()));
 }
Ejemplo n.º 2
0
 public IObservable <Unit> ObserveReset()
 {
     return(_inner.ObserveReset());
 }