The AbstractUI view models use Threading.OnPrimaryThread, which requires user setup, namely calling Threading.SetPrimarySynchronizationContext and Threading.SetPrimaryThreadInvokeHandler. View models should work as-is, without any setup.
The current requirements are a little obtuse, and it personally took me a while to figure out why my property bindings weren't working, because OnPrimaryThread was failing silently.
The AbstractUI view models use Threading.OnPrimaryThread, which requires user setup, namely calling
Threading.SetPrimarySynchronizationContext
andThreading.SetPrimaryThreadInvokeHandler
. View models should work as-is, without any setup. The current requirements are a little obtuse, and it personally took me a while to figure out why my property bindings weren't working, becauseOnPrimaryThread
was failing silently.