public static void LinqHelper.ForEach<T>(IEnumerable<T> enumerable, Action<T> action)
Executes the for each operation with the supplied arguments.
enumerableIEnumerable<T>- Specifies enumerable.
actionAction<T>- Specifies action.
Provides linq helper data and the operations listed below. Related types link to the values this API consumes or returns.
Namespace: DreamPoeBot.Framework.Helpers
public static class LinqHelperView DPB2 version →public static void LinqHelper.ForEach<T>(IEnumerable<T> enumerable, Action<T> action)
Executes the for each operation with the supplied arguments.
enumerableIEnumerable<T>actionAction<T>public static void LinqHelper.ForEach<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>> dictionary, Action<TKey, TValue> action)
Executes the for each operation with the supplied arguments.
dictionaryIEnumerable<KeyValuePair<TKey, TValue>>actionAction<TKey, TValue>DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.