internal WorkBatch(WorkBatchCollection workBackCollection) { this.mutex = new object(); this._pendingWorkCollection = new PendingWorkCollection(); this._state = WorkBatchState.Usable; this._collection = workBackCollection; }
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; }