public static List <KeyValuePair <TKey, TValue> > ToList <TKey, TValue>(this SortedDictionary <TKey, TValue> source)
 => ValueReadOnlyCollection.ToList <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue> >(new ValueWrapper <TKey, TValue>(source));
Ejemplo n.º 2
0
 public static List <TSource> ToList <TSource>(this SortedSet <TSource> source)
 => ValueReadOnlyCollection.ToList <ValueWrapper <TSource>, SortedSet <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source));
Ejemplo n.º 3
0
 public static List <TKey> ToList <TKey, TValue>(this Dictionary <TKey, TValue> .KeyCollection source)
 => ValueReadOnlyCollection.ToList <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .KeyCollection.Enumerator, TKey>(new ValueWrapper <TKey, TValue>(source));