A light weight mvvm package for Reactive Marbles to introduce framework abstractions
NuGet packages
| Name | Platform | NuGet |
|---|---|---|
| ReactiveMarbles.Mvvm | Core - Libary |
Get Started
Registering Framework Concerns
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
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)));
Benchmarks
To see how Mvvm compares to other frameworks see: Benchmarks