mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
19 lines
377 B
C#
19 lines
377 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace BilibiliEvolved.Build
|
|
{
|
|
static class Extensions
|
|
{
|
|
public static void ForEach<T>(this IEnumerable<T> collection, Action<T> action)
|
|
{
|
|
foreach (var item in collection)
|
|
{
|
|
action(item);
|
|
}
|
|
}
|
|
}
|
|
}
|