Class PrefixRequirementAttribute
Overwrites prefix requirement specified by CommandsOptions.
Inheritance
System.Object
System.Attribute
PrefixRequirementAttribute
Namespace: TehGM.Wolfringo.Commands
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class PrefixRequirementAttribute : Attribute
Constructors
| Improve this Doc View SourcePrefixRequirementAttribute(PrefixRequirement)
Declaration
public PrefixRequirementAttribute(PrefixRequirement requirePrefix)
Parameters
Type | Name | Description |
---|---|---|
PrefixRequirement | requirePrefix | Prefix requirement for this command. |
Properties
| Improve this Doc View SourcePrefixRequirementOverride
Prefix requirement for this command. Null means no overwriting.
Declaration
public PrefixRequirement? PrefixRequirementOverride { get; }
Property Value
Type | Description |
---|---|
System.Nullable<PrefixRequirement> |