Table of Contents

Interface IComponentInteractionPreExecutionHandler<TContext>

Namespace
NetCord.Hosting.Services.ComponentInteractions
Assembly
NetCord.Hosting.Services.dll
public interface IComponentInteractionPreExecutionHandler<TContext> where TContext : IComponentInteractionContext

Type Parameters

TContext

Methods

HandleAsync(TContext, GatewayClient?, ILogger, IServiceProvider)

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

Parameters

context TContext
client GatewayClient
logger ILogger
services IServiceProvider

Returns

ValueTask<PreExecutionResult>