summaryrefslogtreecommitdiffstats
path: root/src/IOL.Helpers/EnumHelpers.cs
blob: b63e045a51c616b91d22966ff58038a146cfdf86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>();
		}
	}
}