Pinned Loading
-
EnumGenericHelper.cs
EnumGenericHelper.cs 1public class Enum<T> where T : Enum
2{
3public static T[] Values() => (T[])Enum.GetValues(typeof(T));
45public static T[] ValuesWithout(params T[] values) => ((T[])Enum.GetValues(typeof(T))).Where(q => !values.Contains(q)).ToArray();
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.