Ejemplo n.º 1
0
 public RedisPubSubMessage(RedisPubSubMessageType type, string typeStr, string channel, string pattern, RedisResult data)
 {
     Channel = channel;
     Pattern = pattern ?? "";
     Data    = data;
     Type    = type;
     TypeStr = typeStr;
 }
Ejemplo n.º 2
0
 public RedisPubSubMessage(RedisPubSubMessageType type, string channel, string pattern, byte[] data)
     : this()
 {
     Channel = channel;
     Pattern = pattern ?? "";
     Data    = data;
     Type    = type;
 }