public IEnumerator <TValue> GetEnumerator() => internalCollection.Select(p => p.Value).GetEnumerator();
Exemplo n.º 2
0
 IEnumerator <KeyValuePair <TKey, TValue> > IEnumerable <KeyValuePair <TKey, TValue> > .GetEnumerator()
 {
     return(collection.Select(p => new KeyValuePair <TKey, TValue>(p.Key, p.Value)).GetEnumerator());
 }
Exemplo n.º 3
0
 public IEnumerator <TKey> GetEnumerator() => internalCollection.Select(p => p.Key).GetEnumerator();