How about a place to collect nice and useful extension methods (and possibly argue their utility etc.)
I'm not going to show the definition(s) but here's how to use it
eventsButton.Enabled = false; this.TryCatchFinally ( () => OrderActions.RequestEvents(session, max), xs => { DatabindEvents(xs); }, ex => MessageBox.Show(ex.Message, "Error"), () => eventsButton.Enabled = true );
This approach is lacking in some departments but it looks safe and is exceptionally easy to use. It takes care of asynchronous computation and continuation on the UI thread, as well as handling exceptions on the UI thread as well. Sure this can be monadified into further blissfullness.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.