示例#1
0
 /// <summary>
 /// 添加一个任务
 /// </summary>
 public void EnqueJob(WebJob job)
 {
     ++TargetPosition;
     jobQueue.Enqueue(job);
 }
示例#2
0
 /// <summary>
 /// 添加一个任务
 /// </summary>
 public void EnqueJob(WebJob job)
 {
     ++TargetPosition;
     jobQueue.Enqueue(job);
 }