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
-
IApplicationCommandPreExecutionHandler<TContext>
- 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
contextTContextclientGatewayClientloggerILoggerservicesIServiceProvider