EnumMapper class

namespace: Serenity   assemblySerenity.Net.Core

Contains Enum mapping and other helper functions

public static class EnumMapper

Public Members

name description
static FormatEnum(…) Formats the enum.
static GetEnumTypeKey(…) Gets the enum type key.
static GetName(…) Gets the name of the enum value.
static GetText(…) Gets the display text of the enum value.
static Parse<TEnum>(…) Parses the specified enum key.
static ToString(…) Converts an enum value to string.
static TryParse<TEnum>(…) Tries to parse the enum string.

See Also