PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Enum­Formatter(T) Class / Enum­Formatter(T) Methods

EnumFormatter<T> Methods

The EnumFormatter<T> generic type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetString
Returns the string value of the given enum value.
Public methodWithOptions (Inherited from Formatter<T>.)
Public methodWrite(UnsafeStringBuilder, T)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Overrides Formatter<T>.Write(UnsafeStringBuilder, Object).)
Public methodWrite(UnsafeStringBuilder, Object)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Inherited from Formatter<T>.)
See Also