Class ChoiceNameAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Sets the name for this enum choice.
[AttributeUsage(AttributeTargets.All, AllowMultiple = false)]
public sealed class ChoiceNameAttribute : Attribute
- Inheritance
-
objectAttributeChoiceNameAttribute
Constructors
- ChoiceNameAttribute(string)
Sets the name for this enum choice.
Properties
- Name
The name.