Ejemplo n.º 1
0
 public static WaitingQueue Create(string category)
 {
     if (string.IsNullOrEmpty(category))
     {
         category = "DataManager.NET";
     }
     if (!_list.ContainsKey(category))
     {
         _list[category] = new WaitingQueue();
     }
     return(_list[category]);
 }
Ejemplo n.º 2
0
 public static WaitingQueue Create(string category)
 {
     if (string.IsNullOrEmpty(category))
     {
         category = "DataManager.NET";
     }
     if (!_list.ContainsKey(category))
     {
         _list[category] = new WaitingQueue();
     }
     return _list[category];
 }