Ejemplo n.º 1
0
		private void BeginQueuedCommand(QueuedRedisOperation queuedRedisOperation)
		{
			if (currentQueuedOperation != null)
				throw new InvalidOperationException("The previous queued operation has not been commited");

			currentQueuedOperation = queuedRedisOperation;
		}
        private void BeginQueuedCommand(QueuedRedisOperation queuedRedisOperation)
        {
            if (currentQueuedOperation != null)
            {
                throw new InvalidOperationException("The previous queued operation has not been commited");
            }

            currentQueuedOperation = queuedRedisOperation;
        }
 private void AddCurrentQueuedOperation()
 {
     this.queuedCommands.Add(currentQueuedOperation);
     currentQueuedOperation = null;
 }
 protected virtual void AddCurrentQueuedOperation()
 {
     this.QueuedCommands.Add(CurrentQueuedOperation);
     CurrentQueuedOperation = null;
 }
Ejemplo n.º 5
0
		private void AddCurrentQueuedOperation()
		{
			this.queuedCommands.Add(currentQueuedOperation);
			currentQueuedOperation = null;
		}