示例#1
0
 internal WorkBatch(WorkBatchCollection workBackCollection)
 {
     this.mutex = new object();
     this._pendingWorkCollection = new PendingWorkCollection();
     this._state      = WorkBatchState.Usable;
     this._collection = workBackCollection;
 }
 internal WorkBatch(WorkBatchCollection workBackCollection)
 {
     this.mutex = new object();
     this._pendingWorkCollection = new PendingWorkCollection();
     this._state = WorkBatchState.Usable;
     this._collection = workBackCollection;
 }
示例#3
0
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         this._pendingWorkCollection.Dispose();
         this._pendingWorkCollection = null;
     }
 }
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         this._pendingWorkCollection.Dispose();
         this._pendingWorkCollection = null;
     }
 }
 internal WorkBatch(WorkBatchCollection workBackCollection)
 {
     _pendingWorkCollection = new PendingWorkCollection();
     _state      = WorkBatchState.Usable;
     _collection = workBackCollection;
 }