void NotificationHandlerOnJobModifiedEvent(object sender, NotificationEventArgs e) { // route the event to the job if (this.Jobs.ContainsKey(e.Job.JobId)) { BitsJob job = this.Jobs[e.Job.JobId]; job.JobModified(sender); } // publish the event to other subscribers if (this.jobModified != null) { this.jobModified(sender, e); } }