public Task RunAsync(Action act) { Action InContext = () => { using (Enter()) { act(); } }; return(Runner.RunAsync(InContext)); }
public override void Send(SendOrPostCallback d, object state) { _TaskRunner.RunAsync(() => d(state)).Wait(); }