Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 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))));
 }