- Collections that are bound in a WPF View must be updated on the UI thread.
- ViewModel exposes a collection
- Therefore when collection in the ViewModel is modified it must be done in the UI thread
- Best practice is to keep ViewModels ignorant of View and presumably such details as Dispatcher.
What is the cleanest way to resolve this while keeping view model testable?