EnumUtils
public static TEnumType GetMaximumValue<TEnumType>(Type enumType) where TEnumType : IConvertible, IComparable<TEnumType>
Gets the maximum valid value of an Enum type. Flags enums are ORed.
Gets a dictionary of the names and values of an Enum type.
public static EnumValues<TUnderlyingType> GetNamesAndValues<TEnum, TUnderlyingType>() where TEnum : struct where TUnderlyingType : struct
Gets a dictionary of the names and values of an Enum type.
public static EnumValues<TUnderlyingType> GetNamesAndValues<TUnderlyingType>(Type enumType) where TUnderlyingType : struct
Gets a dictionary of the names and values of an Enum type.
Parses the specified enum member name, returning it's value.
Parses the specified enum member name, returning it's value.
public static bool TryParse<T>(string enumMemberName, bool ignoreCase, out T value) where T : struct