Table of Contents

Class ChoiceDisplayNameAttribute

Namespace
DSharpPlus.Commands.Processors.SlashCommands.ArgumentModifiers
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
object
Attribute
ChoiceDisplayNameAttribute

Constructors

ChoiceDisplayNameAttribute(string)

Used to annotate enum members with a display name for the built-in choice provider.

Properties

DisplayName