예제 #1
0
 private void Clear()
 {
     _queue = null;
 }
예제 #2
0
 /// <summary>
 /// 获取当前队列(不存在,则创建)
 /// </summary>
 /// <param name="name">表名称</param>
 public ViewQueue GetQueue(string name)
 {
     return(_queue ?? (_queue = new ViewQueue(0, name)));
 }