예제 #1
0
 public void AddWorkerProcess(Process newInstanceWorkerProcess)
 {
     if (false == newInstanceWorkerProcess.HasExited &&
         false == jobObject.HasProcess(newInstanceWorkerProcess))
     {
         jobObject.AddProcess(newInstanceWorkerProcess);
         if (false == workerProcessStartDate.HasValue)
         {
             workerProcessStartDate = DateTime.Now;
         }
     }
 }