Class ChoiceNameAttribute
Sets the name for this enum choice.
Inheritance
System.Object
System.Attribute
ChoiceNameAttribute
Namespace: DisCatSharp.ApplicationCommands
Assembly: DisCatSharp.ApplicationCommands.dll
Syntax
[AttributeUsage(AttributeTargets.All)]
public class ChoiceNameAttribute : Attribute
Constructors
| Improve this Doc View SourceChoiceNameAttribute(String)
Sets the name for this enum choice.
Declaration
public ChoiceNameAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name for this enum choice. |
Properties
| Improve this Doc View SourceName
The name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |