public IAsyncResult BeginTryParseDouble(string input, AsyncCallback callback, object state) { TryParseDoubleDelegate del = this.TryParseDoubleDoWork; double dummy; return(del.BeginInvoke(input, out dummy, callback, state)); }
public bool EndTryParseDouble(out double value, IAsyncResult asyncResult) { TryParseDoubleDelegate del = ((System.Runtime.Remoting.Messaging.AsyncResult)asyncResult).AsyncDelegate as TryParseDoubleDelegate; return(del.EndInvoke(out value, asyncResult)); }