public void InvokeOnForeground(SimpleDelegateClass.SimpleDelegate simpleDelegate) { }
public void SynchronousInvokeOnForeground(SimpleDelegateClass.SimpleDelegate operation) { if (IsForegroundThread) { operation.Invoke(); } else { _dispatcher.Invoke(DispatcherPriority.Normal, operation); } }