Skip to main content

Namespace Revolt.Commands.Attributes

Classes​

AliasAttribute​

Marks the aliases for a command.

CommandAttribute​

Marks the execution information for a command.

DontAutoLoadAttribute​

Prevents the marked module from being loaded automatically.

DontInjectAttribute​

Prevents the marked property from being injected into a module.

GroupAttribute​

Marks the module as a command group.

NameAttribute​

Marks the public name of a command, module, or parameter.

NamedArgumentTypeAttribute​

Instructs the command system to treat command parameters of this type as a collection of named arguments matching to its properties.

OverrideTypeReaderAttribute​

Marks the <see cref="!:Type"></see> to be read by the specified Revolt.Commands.Readers.TypeReader.

ParameterPreconditionAttribute​

Requires the parameter to pass the specified precondition before execution can begin.

PreconditionAttribute​

Requires the module or class to pass the specified precondition before execution can begin.

PriorityAttribute​

Sets priority of commands.

RemainderAttribute​

Marks the input to not be parsed by the parser.

RemarksAttribute​

Attaches remarks to your commands.

SummaryAttribute​

Attaches a summary to your command.