Table of Contents

Method GetName

Namespace
DisCatSharp.ApplicationCommands
Assembly
DisCatSharp.ApplicationCommands.dll

GetName<T>(T)

Gets the name from the ChoiceNameAttribute for this enum value.

public static string GetName<T>(this T e) where T : IConvertible

Parameters

e T

Returns

string

The name.

Type Parameters

T