コード例 #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))
 {
 }