Пример #1
0
 private Job reserve()
 {
     foreach (string queue in queues)
     {
         Job job = Job.Reserve(queue);
         if (job != null)
         {
             return(job);
         }
     }
     return(null);
 }
Пример #2
0
 public static Job Reserve(string queue)
 {
     return(Job.Reserve(queue));
 }