Files
tbd-station-14/Pow3r/LinqHelper.cs
Pieter-Jan Briers 103bc19508 Pow3r: stage 1 (#4208)
Co-authored-by: 20kdc <asdd2808@gmail.com>
2021-07-04 18:11:52 +02:00

17 lines
330 B
C#

using System;
using System.Collections.Generic;
namespace Pow3r
{
public static class LinqHelper
{
public static void ForEach<T>(this IEnumerable<T> enumerable, Action<T> action)
{
foreach (var item in enumerable)
{
action(item);
}
}
}
}