Interface ICommandInfo<TContext>
public interface ICommandInfo<TContext> where TContext : ICommandContext
Type Parameters
TContext
Properties
Aliases
IReadOnlyList<string> Aliases { get; }
Property Value
Preconditions
IReadOnlyList<PreconditionAttribute<TContext>> Preconditions { get; }
Property Value
- IReadOnlyList<PreconditionAttribute<TContext>>
Priority
int Priority { get; }
Property Value
Methods
InvokeAsync(ReadOnlyMemory<char>, TContext, CommandServiceConfiguration<TContext>, IServiceProvider?)
ValueTask<CommandExecutionResult> InvokeAsync(ReadOnlyMemory<char> arguments, TContext context, CommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)
Parameters
arguments
ReadOnlyMemory<char>context
TContextconfiguration
CommandServiceConfiguration<TContext>serviceProvider
IServiceProvider