Class DescriptionAttribute
Gives this command, group, or argument a description, which is used when listing help.
Inheritance
System.Object
System.Attribute
DescriptionAttribute
Namespace: DisCatSharp.CommandsNext.Attributes
Assembly: DisCatSharp.CommandsNext.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Parameter)]
public sealed class DescriptionAttribute : Attribute
Constructors
| Improve this Doc View SourceDescriptionAttribute(String)
Gives this command, group, or argument a description, which is used when listing help.
Declaration
public DescriptionAttribute(string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | description |
Properties
| Improve this Doc View SourceDescription
Gets the description for this command, group, or argument.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |