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); } }
public ScopedDictionary(ScopedDictionary <TKey, TValue> previous) { this.previous = previous; map = new Dictionary <TKey, TValue>(); }