示例#1
0
        public virtual void Clear()
        {
            _items.Clear();
            _keys.Clear();

            if (CollectionClear != null)
            {
                CollectionClear(this, new EventArgs());
            }
        }
示例#2
0
 public void Dispose()
 {
     _current = null;
     _globalCollection.Clear();
     _rootItems.Clear();
 }