protected internal RedisCommand(int dbIndex, RedisParam command, RedisCommandType commandType, params RedisParam[] args) { if (command.IsEmpty) { throw new ArgumentNullException("command"); } m_Arguments = args; m_Command = command; m_CommandType = commandType; m_DbIndex = dbIndex; }
protected internal RedisCommand(int dbIndex, byte[] command, RedisCommandType commandType = RedisCommandType.SendAndReceive, params byte[][] args) { if (command == null) { throw new ArgumentNullException("command"); } m_Arguments = args; m_Command = command; m_CommandType = commandType; m_DbIndex = dbIndex; }