Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <summary>
 ///     Construct an empty ObservableDictionary.
 /// </summary>
 public ObservableDictionary()
 {
     _keyed = new KeyedDictCollection();
 }