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;
 }
Example #4
0
 private void AddCurrentQueuedOperation()
 {
     this.queuedCommands.Add(currentQueuedOperation);
     currentQueuedOperation = null;
 }
 protected virtual void AddCurrentQueuedOperation()
 {
     this.QueuedCommands.Add(CurrentQueuedOperation);
     CurrentQueuedOperation = null;
 }