Beispiel #1
0
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous, IEqualityComparer <TKey> comparer)
 {
     this.previous = previous;
     this.map      = new Dictionary <TKey, TValue>(comparer);
 }
Beispiel #2
0
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous)
     : this(previous, EqualityComparer <TKey> .Default)
 {
     this.previous = previous;
     this.map      = new Dictionary <TKey, TValue>();
 }