Class AliasesAttribute
Adds aliases to this command or group.
Inheritance
System.Object
System.Attribute
AliasesAttribute
Namespace: DisCatSharp.CommandsNext.Attributes
Assembly: DisCatSharp.CommandsNext.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public sealed class AliasesAttribute : Attribute
Constructors
| Improve this Doc View SourceAliasesAttribute(String[])
Adds aliases to this command or group.
Declaration
public AliasesAttribute(params string[] aliases)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | aliases | Aliases to add to this command or group. |
Properties
| Improve this Doc View SourceAliases
Gets this group's aliases.
Declaration
public IReadOnlyList<string> Aliases { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.String> |