EnumExtensions..::..GetAttribute<(Of <(<'T>)>)> Method

Gets the attribute. This extension method is broken out so you can use a similar pattern with other MetaData elements in the future. This is your base method for each.

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static T GetAttribute<T>(
	Enum value
)
where T : Attribute

Type Parameters

T

Parameters

value
Type: Enum
The value.

Return Value

T.