Provides helper methods for working with enumerated values.
public static class EnumUtility
name | description |
---|---|
static GetValues<T>() | Gets the values defined by the enumerated type. |
static IsDefined<T>(…) | Determines whether the specified value is defined. |
static Parse<T>(…) | Parses the specified string. (2 methods) |
static TryParse<T>(…) | Attempts to parse the specified string. (4 methods) |