Table of Contents

Method GetName

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.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