Table of Contents

Class ComponentInteractionResultHandler<TContext>

Namespace
NetCord.Hosting.Services.ComponentInteractions
Assembly
NetCord.Hosting.Services.dll
public class ComponentInteractionResultHandler<TContext> : IComponentInteractionResultHandler<TContext> where TContext : IComponentInteractionContext

Type Parameters

TContext
Inheritance
ComponentInteractionResultHandler<TContext>
Implements
Inherited Members

Constructors

ComponentInteractionResultHandler(MessageFlags?)

public ComponentInteractionResultHandler(MessageFlags? messageFlags = null)

Parameters

messageFlags MessageFlags?

Methods

HandleResultAsync(IExecutionResult, TContext, GatewayClient?, ILogger, IServiceProvider)

public ValueTask HandleResultAsync(IExecutionResult result, TContext context, GatewayClient? client, ILogger logger, IServiceProvider services)

Parameters

result IExecutionResult
context TContext
client GatewayClient
logger ILogger
services IServiceProvider

Returns

ValueTask