public RedisPublisher(Redis redis, RedisChannel channel) { this.redis = redis; this.channel = channel; }
public RedisPublisher(Redis redis, string channel) : this(redis, new RedisChannel(redis.FormatChannelForCurrentDb(channel), RedisChannel.PatternMode.Literal)) { }