Class PrefixAttribute
Overwrites prefix specified by CommandsOptions.
Inheritance
System.Object
System.Attribute
PrefixAttribute
Namespace: TehGM.Wolfringo.Commands
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class PrefixAttribute : Attribute
Constructors
| Improve this Doc View SourcePrefixAttribute(String)
Declaration
public PrefixAttribute(string prefix)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | Prefix for this command. Null means no overwriting. |
Properties
| Improve this Doc View SourcePrefixOverride
Prefix for this command. Null means no overwriting.
Declaration
public string PrefixOverride { get; }
Property Value
Type | Description |
---|---|
System.String |