DispatcherService?

Dec 10, 2013 at 9: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 9:33 AM
Oh. Sorry. Dispatcher.BeginInvoke(...) you can only in codebehind of a view. Correct?
Dec 10, 2013 at 8:20 PM
Exactly, DispatcherService allows the dispatcher to be used everywhere.