コード例 #1
0
ファイル: SortedDictionary.cs プロジェクト: kouweizhong/Sop
 public void Clear()
 {
     Btree.Clear();
 }
コード例 #2
0
        // todo: set thread to certain ID, Store in Synchronizer the BTreeReader for a given thread.

        /// <summary>
        /// Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1"/>.
        /// </summary>
        /// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
        ///                 </exception>
        public void Clear()
        {
            Locker.Lock();
            Btree.Clear();
            Locker.Unlock();
        }