Exemplo n.º 1
0
        public void Clear()
        {
            IDictionaryEnumerator e = _indexTable.GetEnumerator();

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

            _attributeIndexSize = 0;
        }
Exemplo n.º 2
0
 public void Clear()
 {
     lock (_mutex)
     {
         IDictionaryEnumerator e = _indexTable.GetEnumerator();
         while (e.MoveNext())
         {
             IIndexStore index = e.Value as IIndexStore;
             index.Clear();
         }
     }
 }
Exemplo n.º 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;
        }