mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-29 19:35:59 +00:00
EnumerableExtensions - Remove Enumerate<T> extension
This commit is contained in:
@@ -7,16 +7,6 @@ namespace PckStudio.Core.Extensions
|
||||
{
|
||||
public static class EnumerableExtensions
|
||||
{
|
||||
public static IEnumerable<(int index, T value)>Enumerate<T>(this IEnumerable<T> array)
|
||||
{
|
||||
int i = 0;
|
||||
foreach (T item in array)
|
||||
{
|
||||
yield return (i++, item);
|
||||
}
|
||||
yield break;
|
||||
}
|
||||
|
||||
public static ImageList ToImageList(this IEnumerable<Image> images)
|
||||
{
|
||||
ImageList imageList = new ImageList
|
||||
|
||||
Reference in New Issue
Block a user