internal WorkBatch(WorkBatchCollection workBackCollection) { this.mutex = new object(); this._pendingWorkCollection = new PendingWorkCollection(); this._state = WorkBatchState.Usable; this._collection = workBackCollection; }
internal void SetWorkBatchCollection(WorkBatchCollection workBatchCollection) { this._collection = workBatchCollection; }
internal WorkBatch(WorkBatchCollection workBackCollection) { _pendingWorkCollection = new PendingWorkCollection(); _state = WorkBatchState.Usable; _collection = workBackCollection; }