public static void BeginInvoke(this Dispatcher dispatcher, Action action) { Delegate actionAsDelegate = action as Delegate; dispatcher.BeginInvoke(actionAsDelegate); }