EnumHelper Class
Version 1.1.28
.NET Framework 4.8
This class has been marked as obsolete: Use the EnumUtils class instead.
| Namespace | Skybrud.Essentials.Enums |
|---|---|
| Assembly | Skybrud.Essentials.dll |
| Visibility | Public |
| Keywords | Static |
| Inheritance | Object |
Utility class with various static helper methods for working with enums.
[Obsolete("Use the EnumUtils class instead.")]
public static class EnumHelper { }
Methods
|
GetEnumValues<T>()
(static)
Gets an array of all values of the specified enum class |
|
ParseEnum<T>(string)
(static)
Parses the specified |
|
ParseEnum<T>(string, T)
(static)
Parses the specified |
|
TryParseEnum<T>(string, out T)
(static)
Converts the string representation of the name or numeric value to an enum of type |