Пример #1
0
 public RedisPublisher(Redis redis, RedisChannel channel)
 {
     this.redis   = redis;
     this.channel = channel;
 }
Пример #2
0
 public RedisPublisher(Redis redis, string channel)
     : this(redis, new RedisChannel(redis.FormatChannelForCurrentDb(channel), RedisChannel.PatternMode.Literal))
 {
 }