When we originally implemented the ViewModels, we found that adding items to an ObservableCollection could not be done by calling SynchronizationContext.SetSynchronizationContext(). To fix this, we created the Threading extensions in OwlCore that allows us to invoke on the UI thread.
We discovered that this could instead by done via SynchronizationContext.Post(), meaning we no longer need to depend on the Threading extension in OwlCore.
This PR remove any usage of OwlCore.Threading in favor of SynchronizationContext in all ViewModels.
Closes AB#885
When we originally implemented the ViewModels, we found that adding items to an ObservableCollection could not be done by calling
SynchronizationContext.SetSynchronizationContext()
. To fix this, we created the Threading extensions in OwlCore that allows us to invoke on the UI thread.We discovered that this could instead by done via
SynchronizationContext.Post()
, meaning we no longer need to depend on the Threading extension in OwlCore.This PR remove any usage of OwlCore.Threading in favor of SynchronizationContext in all ViewModels.