예제 #1
0
 public IndexWorkItem(IndexWorkItemComplete onComplete, IndexWorkItemError onError)
 {
     this.waitHandle = new EventWaitHandle(false, EventResetMode.ManualReset);
     this.Status = IndexWorkItemStatus.Pending;
     this.OnComplete = onComplete;
     this.OnError = onError;
 }
예제 #2
0
 public IndexWorkItem(IndexWorkItemComplete onComplete)
     : this(onComplete, null)
 {
 }