public static IObservable <Unit> AnyDictionaryChangeAsObservable <TKey, TValue>(this IReadOnlyReactiveDictionary <TKey, TValue> reactiveDictionary) { return(Observable.Merge( reactiveDictionary.ObserveReset().AsUnitObservable(), reactiveDictionary.ObserveAdd().AsUnitObservable(), reactiveDictionary.ObserveRemove().AsUnitObservable(), reactiveDictionary.ObserveReplace().AsUnitObservable(), reactiveDictionary.ObserveCountChanged().AsUnitObservable())); }
public IObservable <int> ObserveCountChanged(bool notifyCurrentCount = false) { return(_inner.ObserveCountChanged(notifyCurrentCount)); }