| EnumExtensionMethods Class |
Namespace: CMS.Chat
public static class EnumExtensionMethods
| Name | Description | |
|---|---|---|
| ToStringValue(Enum) |
Gets the string value for a given enum element from the StringValue attribute. If passed
enum element doesn't contain StringValue attribute, name of the enum element is returned.
| |
| ToStringValue(Enum, Int32) |
Gets the string value of an enum element from the first KeyStringValue with Key equals to key.
|