/// <summary> /// Gets a list of enums of a specified enum type. /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> /// <exception cref="System.ArgumentException">Throws a System.ArgumentException if the specified generic type is not an enum.</exception> public static List <T> GetEnums <T>() { return(DebugUtility.GetEnums <T>()); }