WPF UI Thread Dispatcher

A simple implemention for calling asych methods from the UI   Examples   1. dispatcher.ExecuteOnMainUIThread(CommandManager.InvalidateRequerySuggested);   2. dispatcher.Execute(() => { SomeLongRunningMethodHere(); });   The interface using System; namespace Mvvm { public interface IDispatcher { void […]