Ejemplo n.º 1
0
 public sealed override void Clear()
 {
     this.Modify(
         () => this.ClearImpl(),
         () => DictionaryEventArgs.NewEventClear(this.Keys, this.Values));
 }
Ejemplo n.º 2
0
 public sealed override void Add(TK key, TV value)
 {
     this.Modify(
         () => this.AddImpl(key, value),
         () => DictionaryEventArgs.NewEventAddRange(new[] { key }, new[] { value }));
 }