internal RedisClient(IConnector connector, string password = null) { this._connector = connector; this._password = password; if (!string.IsNullOrWhiteSpace(password)) { this._connector.Connected += _connector_Connected; } this._executor = new RedisExecutor(connector); }
void IRedisItem.Parse(RedisExecutor executor) { this._Key = executor.ReadBulkString(); this._Value = executor.ReadBulk(); }
void IRedisItem.Parse(RedisExecutor executor) { this._Member = executor.ReadBulk(); this._Score = Aoite.Redis.Commands.RedisFloat.FromString(executor.ReadBulkString()); }