protected void OnBuildFinished(BuildFinishedEventArgs e) { if (BuildFinished != null) BuildFinished(this, e); }
void BuildFinished(object sender, BuildFinishedEventArgs e) { isRunning = false; BuildServerApp.DataStore.Save(e.BuildReport); }