Exemplo n.º 1
0
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous, IEnumerable <KeyValuePair <TKey, TValue> > pairs) : this(previous) {
     foreach (KeyValuePair <TKey, TValue> p in pairs)
     {
         map.Add(p.Key, p.Value);
     }
 }
Exemplo n.º 2
0
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous)
 {
     this.previous = previous;
     map           = new Dictionary <TKey, TValue>();
 }