Class CommandAttribute
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public sealed class CommandAttribute : Attribute
- Inheritance
-
CommandAttribute
- Inherited Members
Constructors
CommandAttribute(string, params string[])
public CommandAttribute(string commandName, params string[] aliases)
Parameters
Properties
Aliases
public string[] Aliases { get; }
Property Value
- string[]
CommandName
public string CommandName { get; }