public InputQueue <T> .Item DequeueAvailableItem() { Fx.AssertAndThrow(this.totalCount != this.pendingCount, "ItemQueue does not contain any available items"); return(this.DequeueItemCore()); }
public void MakePendingItemAvailable() { Fx.AssertAndThrow(this.pendingCount != 0, "ItemQueue does not contain any pending items"); InputQueue <T> .ItemQueue itemQueue = this; itemQueue.pendingCount = itemQueue.pendingCount - 1; }
public void MakePendingItemAvailable() { Fx.AssertAndThrow(this.pendingCount != 0, "ItemQueue does not contain any pending items"); this.pendingCount--; }