PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Enum­Formatter Class

EnumFormatter Class

Efficient formatter for enums.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Formatters.EnumFormatter

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public static class EnumFormatter

The EnumFormatter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetString<T>
Returns the string value of the given enum value.
See Also