C# Class Schumix.Irc.Commands.SchumixCommandAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: Schumix/Schumix2

Public Methods

Method Description
SchumixCommandAttribute ( string command, CommandPermission permission = CommandPermission.Normal ) : System

Marks a method as an Schumix command.

Method Details

SchumixCommandAttribute() public method

Marks a method as an Schumix command.
public SchumixCommandAttribute ( string command, CommandPermission permission = CommandPermission.Normal ) : System
command string The command corresponding to this method.
permission CommandPermission Command's access permission
return System