public void Add(Job job, JobSchedule jobSchedule) { if (m_activeJobs.Any(x => x.JobId == job.Id)) { return; } m_logger.Info("Enqueueing {0}", job.Name); var je = new JobExecutioner(job, jobSchedule, this.TaskManager); m_activeJobs.Add(je); m_jobQueue.Enqueue(je); }