title: How to pass the UI Dispatcher to the ViewModel
body: <p>I'm supposed to be able to access the <a href="http://msdn.microsoft.com/en-us/magazine/cc163328.aspx" rel="noreferrer">Dispatcher</a> that belongs to the View I need to pass it to the ViewModel. But the View should not know anything about the ViewModel, so how do you pass it? Introduce an interface or instead of passing it to the instances create a global dispatcher singleton that will be written by the View? How do you solve this in your MVVM applications and frameworks?</p>
  
  <p>EDIT: Note that since my ViewModels might be created in background threads I can't just do <code>Dispatcher.Current</code> in the constructor of the ViewModel.</p>