Exemple #1
0
 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);
 }
Exemple #2
0
 void IRedisItem.Parse(RedisExecutor executor)
 {
     this._Key   = executor.ReadBulkString();
     this._Value = executor.ReadBulk();
 }
Exemple #3
0
 void IRedisItem.Parse(RedisExecutor executor)
 {
     this._Member = executor.ReadBulk();
     this._Score  = Aoite.Redis.Commands.RedisFloat.FromString(executor.ReadBulkString());
 }