private void DoNextJob()
 {
     using (Schedule schedule = _scheduler.Next())
     {
         Task work = _coordinator.GetWork(schedule.Job);
         if (work != null)
         {
             _host.DoWork(work);
         }
     }
 }
Пример #2
0
        void DoNextJob()
        {
            using (var schedule = _scheduler.Next())
            {
                var work = _coordinator.GetWork(schedule.Job);

                if (work != null)
                {
                    _host.DoWork(work);
                }
            }
        }
Пример #3
0
        void DoNextJob()
        {
            using (var schedule = _scheduler.Next())
            {
                var work = _coordinator.GetWork(schedule.Job);

                if (work != null)
                {
                    _host.DoWork(work);
                }
            }
            if (_logAction != null)
            {
                _logAction(_scheduler.ToString());
            }
        }