mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
16 lines
330 B
C#
16 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);
|
|
}
|
|
}
|
|
}
|
|
}
|