Class ConsoleCommandAttribute
- Namespace
- CounterStrikeSharp.API.Core.Attributes.Registration
- Assembly
- CounterStrikeSharp.API.dll
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class ConsoleCommandAttribute : Attribute
- Inheritance
-
objectConsoleCommandAttribute
- Inherited Members
Constructors
ConsoleCommandAttribute(string, string)
public ConsoleCommandAttribute(string command, string description = null)
Parameters
Properties
Command
public string Command { get; }
Property Value
Description
public string Description { get; }