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
-
IComponentInteractionResultHandler<TContext>
- 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
IExecutionResultcontext
TContextclient
GatewayClientlogger
ILoggerservices
IServiceProvider