HtmlForgeX

API Reference

Class

ExtensionsDescription

Namespace HtmlForgeX.Extensions

Extension methods for enums.

Inheritance

  • Object
  • ExtensionsDescription

Methods

GetDescription``1(``0 enumValue) #

Retrieves the DescriptionAttribute value from an enum value.

Type Parameters

T
Enum type.

Parameters

enumValue ``0 required
Enum value to read.

Returns

Description text or the enum name.