/// <summary> /// Construct an observable dictionary from an existing dictionary. /// </summary> /// <param name="other">The other dictionary.</param> public ObservableDictionary(IDictionary <TKey, TValue> other) { _keyed = new KeyedDictCollection(other); }
/// <summary> /// Construct an observable dictionary from an existing dictionary and a key comparer. /// </summary> /// <param name="other">The other dictionary.</param> /// <param name="comparer">A comparer.</param> public ObservableDictionary(IDictionary <TKey, TValue> other, IEqualityComparer <TKey> comparer) { _keyed = new KeyedDictCollection(other, comparer); }
/// <summary> /// Construct an empty ObservableDictionary. /// </summary> public ObservableDictionary() { _keyed = new KeyedDictCollection(); }