Table of Contents

Class AutocompleteInteractionPreExecutionHandler<TContext>

Namespace
NetCord.Hosting.Services.ApplicationCommands
Assembly
NetCord.Hosting.Services.dll
public class AutocompleteInteractionPreExecutionHandler<TContext> : IAutocompleteInteractionPreExecutionHandler<TContext> where TContext : IAutocompleteInteractionContext

Type Parameters

TContext
Inheritance
AutocompleteInteractionPreExecutionHandler<TContext>
Implements
Inherited Members

Constructors

AutocompleteInteractionPreExecutionHandler()

public AutocompleteInteractionPreExecutionHandler()

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>