Class ComponentInteractionPreExecutionHandler<TContext>
- Namespace
- NetCord.Hosting.Services.ComponentInteractions
- Assembly
- NetCord.Hosting.Services.dll
public class ComponentInteractionPreExecutionHandler<TContext> : IComponentInteractionPreExecutionHandler<TContext> where TContext : IComponentInteractionContext
Type Parameters
TContext
- Inheritance
-
ComponentInteractionPreExecutionHandler<TContext>
- Implements
-
IComponentInteractionPreExecutionHandler<TContext>
- Inherited Members
Constructors
ComponentInteractionPreExecutionHandler()
public ComponentInteractionPreExecutionHandler()
Methods
HandleAsync(TContext, GatewayClient?, ILogger, IServiceProvider)
public ValueTask<PreExecutionResult> HandleAsync(TContext context, GatewayClient? client, ILogger logger, IServiceProvider services)
Parameters
contextTContextclientGatewayClientloggerILoggerservicesIServiceProvider