Closed jbatte47 closed 10 years ago
It would be nice to optionally specify actions and functions to run at each stage of the try/catch/finally block. That would look something like:
Try.Do(Work, final: () => Debug.WriteLine("Work complete")); int count = Try.Get(Count, final: result => Debug.WriteLine(string.Format("Count retrieved: {0}", result)));
It would be nice to optionally specify actions and functions to run at each stage of the try/catch/finally block. That would look something like: