예제 #1
0
 /// <summary>
 /// 清空
 /// </summary>
 public void Clear()
 {
     if (m_buffers != null)
     {
         m_buffers.Clear();
         m_buffers = null;
     }
 }
예제 #2
0
 public static void closeAllProjects()
 {
     System.Collections.IEnumerator iterator = s_utilInstanceMap.Keys.GetEnumerator();
     while (iterator.MoveNext())
     {
         ProjectDBUtil projectDBUtil = (ProjectDBUtil)s_utilInstanceMap[iterator.Current];
         projectDBUtil.closeProject();
     }
     s_utilInstanceMap.Clear();
 }
예제 #3
0
 /// <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
 public void Clear()
 {
     _root.Clear();
     _count = 0;
 }