Example #1
0
 public void Add(T item)
 {
     _items.Add(item, 1);
     _changeTracker.NotifyValueAdded(this, item);
     _hashDependancy.InvalidateHash();
 }
Example #2
0
 public void Insert(int index, T item)
 {
     _items.Insert(index, item);
     _changeTracker.NotifyValueAdded(this, item);
     _hashDependancy.InvalidateHash();
 }