internal void BeginQueuedCommand(QueuedRedisOperation queuedRedisOperation) { if (CurrentQueuedOperation != null) throw new InvalidOperationException("The previous queued operation has not been commited"); CurrentQueuedOperation = queuedRedisOperation; }
internal void BeginQueuedCommand(QueuedRedisOperation queuedRedisOperation) { if (CurrentQueuedOperation != null) { throw new InvalidOperationException("The previous queued operation has not been commited"); } CurrentQueuedOperation = queuedRedisOperation; }
protected virtual void AddCurrentQueuedOperation() { this.QueuedCommands.Add(CurrentQueuedOperation); CurrentQueuedOperation = null; }
private void AddCurrentQueuedOperation() { this.queuedCommands.Add(currentQueuedOperation); currentQueuedOperation = null; }