예제 #1
0
        public void Clear()
        {
            IDictionaryEnumerator e = _indexTable.GetEnumerator();

            while (e.MoveNext())
            {
                IIndexStore store = e.Value as IIndexStore;
                store.Clear();
            }

            _attributeIndexSize = 0;
        }
예제 #2
0
 public void Clear()
 {
     lock (_mutex)
     {
         IDictionaryEnumerator e = _indexTable.GetEnumerator();
         while (e.MoveNext())
         {
             IIndexStore index = e.Value as IIndexStore;
             index.Clear();
         }
     }
 }
예제 #3
0
        public void Clear()
        {
            lock (_mutex)
            {
                IDictionaryEnumerator e = IndexTable.GetEnumerator();

                while (e.MoveNext())
                {
                    IIndexStore store = e.Value as IIndexStore;
                    if (store != null)
                    {
                        store.Clear();
                    }
                }
            }

            _attributeIndexSize = 0;
        }