예제 #1
0
 /// <summary>
 /// 实例化一个消息队列
 /// </summary>
 /// <param name="chanels">消息队列的管道名</param>
 public RedisQueue(string chanels)
 {
     if (string.IsNullOrEmpty(chanels))
     {
         throw new ArgumentException("chanels");
     }
     redis = new RedisList(chanels);
 }