aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.Helpers/EnumHelpers.cs
blob: 5434992bc04d8b3a1af57b96854f28164fc0bce7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using System;
using System.Collections.Generic;
using System.Linq;

namespace IOL.Helpers;

public static class EnumHelpers
{
	public static IEnumerable<T> GetValues<T>() {
		return Enum.GetValues(typeof(T)).Cast<T>();
	}
}