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

Properties

Instance

public static ComponentInteractionResultResolverProvider<TContext> Instance { get; }

Property Value

ComponentInteractionResultResolverProvider<TContext>

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