Table of Contents

Class ComponentInteractionResultResolverProvider<TContext>

Namespace
NetCord.Services.ComponentInteractions
Assembly
NetCord.Services.dll
public class ComponentInteractionResultResolverProvider<TContext> : IResultResolverProvider<TContext> where TContext : IComponentInteractionContext

Type Parameters

TContext
Inheritance
ComponentInteractionResultResolverProvider<TContext>
Implements
Inherited Members

Constructors

ComponentInteractionResultResolverProvider()

public ComponentInteractionResultResolverProvider()

Methods

TryGetResolver(Type, out Func<object?, TContext, ValueTask>)

public bool TryGetResolver(Type type, out Func<object?, TContext, ValueTask> resolver)

Parameters

type Type
resolver Func<object, TContext, ValueTask>

Returns

bool