/// <summary>
 /// 订阅发送
 /// </summary>
 public static void Start()
 {
     SubscribeTimerWorker worker = new SubscribeTimerWorker();
     task.Run(worker.DoWork, worker, SubscribeTimerDelay * 1000, SubscribeTimerInterval * 1000);
 }
Exemplo n.º 2
0
        /// <summary>
        /// 订阅发送
        /// </summary>
        public static void Start()
        {
            SubscribeTimerWorker worker = new SubscribeTimerWorker();

            task.Run(worker.DoWork, worker, SubscribeTimerDelay * 1000, SubscribeTimerInterval * 1000);
        }