Class SummaryAttribute
- Namespace
- HeyBox.Interactions
- Assembly
- HeyBox.Net.Interactions.dll
自定义斜线命令参数的名称和描述。
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class SummaryAttribute : Attribute
- Inheritance
-
SummaryAttribute
- Inherited Members
Constructors
SummaryAttribute(string?, string?)
修改斜线命令参数的默认名称和描述。
public SummaryAttribute(string? name = null, string? description = null)
Parameters
Properties
Description
获取参数描述。
public string? Description { get; }
Property Value
Name
获取参数名称。
public string? Name { get; }