public void RunFinished(RunFinishedInfo information) { lock (_feedbackLock) { _syncCtx.Post((o) => { var info = (RunFinishedInfo)o; if (SessionFinished != null) { SessionFinished(this, SessionFinishedArgs.FromInternal(info)); } }, information); } }
static void engine_SessionFinished(object sender, SessionFinishedArgs e) { System.Console.WriteLine("Run finished with {0} failed builds and {1} tests", e.Run.NumberOfBuildsFailed, e.Run.NumberOfTestsRan); }