private static void ReportAPIUpdaterFailure(IEnumerable <string> errorOutput) { string msg = string.Format("APIUpdater encountered some issues and was not able to finish.{0}{1}", Environment.NewLine, errorOutput.Aggregate(string.Empty, (string acc, string curr) => acc + Environment.NewLine + "\t" + curr)); ScriptUpdatingManager.ReportGroupedAPIUpdaterFailure(msg); }
private static void ReportAPIUpdaterFailure(IEnumerable <string> errorOutput) { ScriptUpdatingManager.ReportGroupedAPIUpdaterFailure(string.Format("APIUpdater encountered some issues and was not able to finish.{0}{1}", (object)Environment.NewLine, (object)errorOutput.Aggregate <string, string>(string.Empty, (Func <string, string, string>)((acc, curr) => acc + Environment.NewLine + "\t" + curr)))); }