コード例 #1
0
 protected string AggregateExceptions(Exception ex)
 {
     return(ExceptionUtils.GetExceptions(ex)
            .Select((m, i) => $"#{i} - {m}")
            .Reverse()
            .Aggregate((x, y) => x + "; " + y));
 }