DispatcherService?

Dec 10, 2013 at 8:27 AM
Why a dispatcherService

var dispatcherService = ServiceLocator.ResolveType<IDispatcherService>();
dispatcherService.BeginInvoke( ...)

I can also use:

Dispatcher.BeginInvoke(...)

Whats the advantage?
Dec 10, 2013 at 8:33 AM
Oh. Sorry. Dispatcher.BeginInvoke(...) you can only in codebehind of a view. Correct?
Coordinator
Dec 10, 2013 at 7:20 PM
Exactly, DispatcherService allows the dispatcher to be used everywhere.