Table of Contents

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
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

context TContext
client GatewayClient
logger ILogger
services IServiceProvider

Returns

ValueTask<PreExecutionResult>