Пример #1
0
 public virtual void WriteTo(PooledSocket socket)
 {
     var p = Arguments;
     if (p == null || p.Length == 0)
     {
         RedisValue nameVal = Name;
         p = new RedisValue[1] { nameVal };
     }
     var multi = new RedisValue { Type = RedisValueType.MultiBulk, MultiBulkValues = p };
     multi.Write(socket);
 }