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