Table of Contents

Class CommandAttribute

Namespace
DisCatSharp.CommandsNext.Attributes
Assembly
DisCatSharp.CommandsNext.dll

Marks this method as a command.

[AttributeUsage(AttributeTargets.Method)]
public sealed class CommandAttribute : Attribute
Inheritance
CommandAttribute
Inherited Members

Constructors

CommandAttribute()

Marks this method as a command, using the method's name as command name.

CommandAttribute(string)

Marks this method as a command with specified name.

Properties

Name

Gets the name of this command.