![Gitter](https://badges.gitter.im/Join Chat.svg) A collection of useful classes that uses System.Reactive
var subscription = fake.ObservePropertyChanged(x => x.Next.Value)
.Subscribe(...);
-
Listens to nested changes. All steps in the property path must be INotifyPropertyChanged. Throws if not.
-
Updates subscriptions for items in path and uses weak events. Tested for memory leaks.
-
Refactor friendly cos lambdas.
var subscription = collection.ObserveItemPropertyChanged(x => x.Name)
.Subscribe(...);
- Listens to changes using ObservePropertyChanged
- Removes subscriptions for elements that are removed from the collection and adds subscription to new elements.
fake.ObservePropertyChangedWithValue(x => x.Collection)
.ItemPropertyChanged(x => x.Name)
.Subscribe(_changes.Add);
Se demo code
- Not using CommandManager for raising CanExecuteChanged. Weak events & tests for memory leaks.
- Typed parameters or no parameter.
- ManualRelayCommand & ManualRelayCommand
- RelayCommand & RelayCommand
- ObservingRelayCommand
- ConditionRelayCommand & ConditionRelayCommand
- No more CollectionViewSource in code.
- Typed so you get intellisense in xaml.
- Takes Filter<T, bool> and params IObservable for max composability.
Gu.Reactive is licensed under the MIT license. See License.md for the full license text, or at opensource.org if the license file was not provided.