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

EnumFormatter.GetString<T> Method

Returns the string value of the given enum value.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static string GetString<T>(
	T value
)

Parameters

value
Type: T

Type Parameters

T

Return Value

Type: String
See Also