示例#1
0
 /// <summary>
 /// 释放,开始立即更新所有缓存
 /// </summary>
 public void Dispose()
 {
     if (DoFlush)
     {
         WlMessageQueue.OperateQueue();
     }
 }
示例#2
0
 /// <summary>
 /// 启动线程轮询
 /// </summary>
 public void Run()
 {
     do
     {
         WlMessageQueue.OperateQueue();
         Thread.Sleep(_sleepMilliSeconds);
     } while (true);
 }