A light weight mvvm package for Reactive Marbles to introduce framework abstractions
| Name | Platform | NuGet |
|---|---|---|
| ReactiveMarbles.Mvvm | Core - Libary |
ICoreRegistration gives the framework an understanding of the following concerns for ReactiveMarbles internals. We provide a simple builder and extension method to register it against the ServiceLocator.
ServiceLocator
.Current()
.AddCoreRegistrations(() =>
CoreRegistrationBuilder
.Create()
.WithMainThreadScheduler(Scheduler.Default)
.WithTaskPoolScheduler(TaskPoolScheduler.Default)
.WithExceptionHandler(new DebugExceptionHandler())
.Build());AsValue allows you to bind an IObservable<T> to a property that produces a property changed event.
_valueChange =
this.WhenChanged(x => x.Property)
.Select(x => x + "Changed")
.AsValue(onChanged: x => RaisePropertyChanged(nameof(ValueChange)));To see how Mvvm compares to other frameworks see: Benchmarks