Class CommandPrefixAttribute
Creates a prefix that will be prepended to all commands made within this class. Works recursively with sub-classes.
Inheritance
CommandPrefixAttribute
Assembly: QFSW.QC.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
public sealed class CommandPrefixAttribute : Attribute
Constructors
CommandPrefixAttribute(String)
Declaration
public CommandPrefixAttribute(string prefixName = "")
Parameters
Type |
Name |
Description |
String |
prefixName |
|
Fields
Prefix
Declaration
public readonly string Prefix
Field Value
Valid
Declaration
public readonly bool Valid
Field Value
Extension Methods