aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Common/EnumUtils.cs
blob: 2a4aa645bb45e45fc8603527846c1a15cd377c5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using System;

namespace ARMeilleure.Common
{
    static class EnumUtils
    {
        public static int GetCount(Type enumType)
        {
            return Enum.GetNames(enumType).Length;
        }
    }
}