Esempio n. 1
0
 public static void ForEach <TSource>(this SortedSet <TSource> source, ActionAt <TSource> action)
 => ValueReadOnlyCollection.ForEach <ValueWrapper <TSource>, SortedSet <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source), action);
Esempio n. 2
0
 public static void ForEach <TSource>(this ImmutableHashSet <TSource> source, Action <TSource> action)
 => ValueReadOnlyCollection.ForEach <ValueWrapper <TSource>, ImmutableHashSet <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source), action);
 public static void ForEach <TKey, TValue>(this SortedDictionary <TKey, TValue> source, ActionAt <KeyValuePair <TKey, TValue> > action)
 => ValueReadOnlyCollection.ForEach <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue> >(new ValueWrapper <TKey, TValue>(source), action);
Esempio n. 4
0
 public static void ForEach <TKey, TValue>(this SortedDictionary <TKey, TValue> .KeyCollection source, Action <TKey> action)
 => ValueReadOnlyCollection.ForEach <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .KeyCollection.Enumerator, TKey>(new ValueWrapper <TKey, TValue>(source), action);
Esempio n. 5
0
 public static void ForEach <TSource>(this LinkedList <TSource> source, Action <TSource> action)
 => ValueReadOnlyCollection.ForEach <ValueWrapper <TSource>, LinkedList <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source), action);
Esempio n. 6
0
 public static void ForEach <TKey, TValue>(this Dictionary <TKey, TValue> .ValueCollection source, ActionAt <TValue> action)
 => ValueReadOnlyCollection.ForEach <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .ValueCollection.Enumerator, TValue>(new ValueWrapper <TKey, TValue>(source), action);