public static ValueEnumerable.DistinctEnumerable <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue> > Distinct <TKey, TValue>(this SortedDictionary <TKey, TValue> source, IEqualityComparer <KeyValuePair <TKey, TValue> >?comparer = null)
 => ValueEnumerable.Distinct <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue> >(new ValueWrapper <TKey, TValue>(source), comparer);
Beispiel #2
0
 public static ValueEnumerable.DistinctEnumerable <ValueWrapper <TSource>, ValueWrapper <TSource> .Enumerator, TSource> Distinct <TSource>(this ImmutableQueue <TSource> source, IEqualityComparer <TSource>?comparer = null)
 => ValueEnumerable.Distinct <ValueWrapper <TSource>, ValueWrapper <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source), comparer);
Beispiel #3
0
 public static ValueEnumerable.DistinctEnumerable <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .KeyCollection.Enumerator, TKey> Distinct <TKey, TValue>(this SortedDictionary <TKey, TValue> .KeyCollection source, IEqualityComparer <TKey>?comparer = null)
 => ValueEnumerable.Distinct <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .KeyCollection.Enumerator, TKey>(new ValueWrapper <TKey, TValue>(source), comparer);