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

Properties

Instance

public static ApplicationCommandResultResolverProvider<TContext> Instance { get; }

Property Value

ApplicationCommandResultResolverProvider<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