object IDictionary.this[object key] { get { if (!(key is TKey)) { throw new KeyNotFoundException(); } ObservablePair <TKey, TValue> value = this[(TKey)key] as ObservablePair <TKey, TValue>; if (value != null) { return(value.Second); } else { return(null); } } set { throw new NotSupportedException(); } }
protected override TKey GetKeyForItem(ObservablePair <TKey, TValue> item) { return(item.First); }