Class ApplicationCommandServiceOptions<TInteraction, TContext, TAutocompleteContext>
- Namespace
- NetCord.Hosting.Services.ApplicationCommands
- Assembly
- NetCord.Hosting.Services.dll
public class ApplicationCommandServiceOptions<TInteraction, TContext, TAutocompleteContext> : ApplicationCommandServiceOptions<TInteraction, TContext> where TInteraction : ApplicationCommandInteraction where TContext : IApplicationCommandContext where TAutocompleteContext : IAutocompleteInteractionContext
Type Parameters
TInteraction
TContext
TAutocompleteContext
- Inheritance
-
ApplicationCommandServiceOptions<TInteraction, TContext>ApplicationCommandServiceOptions<TInteraction, TContext, TAutocompleteContext>
- Inherited Members
Constructors
ApplicationCommandServiceOptions()
public ApplicationCommandServiceOptions()
Properties
AutocompleteResultHandler
public IAutocompleteInteractionResultHandler<TAutocompleteContext>? AutocompleteResultHandler { get; set; }
Property Value
- IAutocompleteInteractionResultHandler<TAutocompleteContext>
CreateAutocompleteContext
public Func<AutocompleteInteraction, GatewayClient?, IServiceProvider, TAutocompleteContext>? CreateAutocompleteContext { get; set; }
Property Value
- Func<AutocompleteInteraction, GatewayClient, IServiceProvider, TAutocompleteContext>