Table of Contents

Class CommandInfo<TContext>

Namespace
NetCord.Services.Commands
Assembly
NetCord.Services.dll
public class CommandInfo<TContext> where TContext : ICommandContext

Type Parameters

TContext
Inheritance
CommandInfo<TContext>
Inherited Members

Properties

InvokeAsync

public Func<object?[]?, TContext, IServiceProvider?, ValueTask> InvokeAsync { get; }

Property Value

Func<object[], TContext, IServiceProvider, ValueTask>

Parameters

public IReadOnlyList<CommandParameter<TContext>> Parameters { get; }

Property Value

IReadOnlyList<CommandParameter<TContext>>

Preconditions

public IReadOnlyList<PreconditionAttribute<TContext>> Preconditions { get; }

Property Value

IReadOnlyList<PreconditionAttribute<TContext>>

Priority

public int Priority { get; }

Property Value

int