/SynchronizedEvents

Skip the dispatcher in your view model! Events can magically raise themselves on the correct UI thread.

Primary LanguageC#MIT LicenseMIT

SynchronizedEvents Build status NuGet Status

Event handlers that marshal the invoke back to the SynchronizationContext on which the registration occurs. This is helpful in data-binding (WPF, UWP, etc) where INotifyPropertyChanged needs posted on the UI thread by a shared library that doesn't have a Dispatcher.

Includes a built-in INotifyPropertyChanged implementation BindableBase to serve as an example and common base class for view models.