Thought I would share this class I wrote the other day... it is a helper class that flattens the the Exception hierarchy and allows you to enumerate through the exceptions using ForEach. The following shows how the class is used.
EnumerableException items = new EnumerableException(ex);
foreach (EnumerableException item in items)
System.Diagnostics.Debug.WriteLine(item.Exception.Message);
Posted in Code |Comments [0]
Sysknowlogy