Beispiel #1
0
 public IWork Add(DoWorkHandler work, string description, QueuePriority queuePriority, ThreadPriority threadPriority, WorkEventHandler workCompletedHandler)
 {
   IWork w = new Work(work, description, threadPriority, workCompletedHandler);
   return Add(w, queuePriority) ? w : null;
 }
Beispiel #2
0
 public IWork Add(DoWorkHandler work, string description, QueuePriority queuePriority)
 {
   IWork w = new Work(work, description, _startInfo.DefaultThreadPriority);
   return Add(w, queuePriority) ? w : null;
 }
Beispiel #3
0
 public IWork Add(DoWorkHandler work, ThreadPriority threadPriority)
 {
   IWork w = new Work(work, threadPriority);
   return Add(w) ? w : null;
 }
Beispiel #4
0
 public IWork Add(DoWorkHandler work, WorkEventHandler workCompletedHandler)
 {
   IWork w = new Work(work, workCompletedHandler);
   return Add(w) ? w : null;
 }
Beispiel #5
0
 public IWork Add(DoWorkHandler work)
 {
   IWork w = new Work(work, _startInfo.DefaultThreadPriority);
   return Add(w) ? w : null;
 }