1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-07 15:23:37 +02:00
MLEM/MLEM/Misc/EnumHelper.cs

13 lines
256 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
namespace MLEM.Misc {
public static class EnumHelper {
public static IEnumerable<T> GetValues<T>() {
return Enum.GetValues(typeof(T)).Cast<T>();
}
}
}