Table of Contents

Class ApplicationCommandPreExecutionHandler<TContext>

Namespace
NetCord.Hosting.Services.ApplicationCommands
Assembly
NetCord.Hosting.Services.dll
public class ApplicationCommandPreExecutionHandler<TContext> : IApplicationCommandPreExecutionHandler<TContext> where TContext : IApplicationCommandContext

Type Parameters

TContext
Inheritance
ApplicationCommandPreExecutionHandler<TContext>
Implements
Inherited Members

Constructors

ApplicationCommandPreExecutionHandler()

public ApplicationCommandPreExecutionHandler()

Methods

HandleAsync(TContext, GatewayClient?, ILogger, IServiceProvider)

public ValueTask<PreExecutionResult> HandleAsync(TContext context, GatewayClient? client, ILogger logger, IServiceProvider services)

Parameters

context TContext
client GatewayClient
logger ILogger
services IServiceProvider

Returns

ValueTask<PreExecutionResult>