namespace: Serenity assembly: Serenity.Net.Core
Tries to parse the enum string.
public static bool TryParse<TEnum>(string key, out TEnum value)
parameter | description |
---|---|
TEnum | The type of the enum. |
key | The enumeration key or integer value. |
value | The value. |
If parsed successfully true
- class TEnum
- class EnumMapper