Table of Contents

Class ApplicationCommandResultResolverProvider<TContext>

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll
public class ApplicationCommandResultResolverProvider<TContext> : IResultResolverProvider<TContext> where TContext : IApplicationCommandContext

Type Parameters

TContext
Inheritance
ApplicationCommandResultResolverProvider<TContext>
Implements
Inherited Members

Constructors

ApplicationCommandResultResolverProvider()

public ApplicationCommandResultResolverProvider()

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