Class ChoiceDisplayNameAttribute
- Assembly
- DSharpPlus.Commands.dll
Used to annotate enum members with a display name for the built-in choice provider.
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class ChoiceDisplayNameAttribute : Attribute
- Inheritance
-
ChoiceDisplayNameAttribute
Constructors
- ChoiceDisplayNameAttribute(string)
Used to annotate enum members with a display name for the built-in choice provider.