Class CommandAttribute
Used to mark a method as a Command, in a CliCommands class
Inheritance
System.Object
System.Attribute
CommandAttribute
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class CommandAttribute : Attribute, _Attribute
Constructors
| Improve this DocCommandAttribute(String)
Marks a Method as a Command
Declaration
public CommandAttribute(string Name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Name | The case in-sensitive name for the command, which is invoked to activate it |