Table of Contents

Class ComponentInteractionServiceOptions<TInteraction, TContext>

Namespace
NetCord.Hosting.Services.ComponentInteractions
Assembly
NetCord.Hosting.Services.dll
public class ComponentInteractionServiceOptions<TInteraction, TContext> where TInteraction : Interaction where TContext : IComponentInteractionContext

Type Parameters

TInteraction
TContext
Inheritance
ComponentInteractionServiceOptions<TInteraction, TContext>
Inherited Members

Constructors

ComponentInteractionServiceOptions()

public ComponentInteractionServiceOptions()

Properties

CreateContext

public Func<TInteraction, GatewayClient?, IServiceProvider, TContext>? CreateContext { get; set; }

Property Value

Func<TInteraction, GatewayClient, IServiceProvider, TContext>

CultureInfo

public CultureInfo? CultureInfo { get; set; }

Property Value

CultureInfo

EnumTypeReader

public ComponentInteractionTypeReader<TContext>? EnumTypeReader { get; set; }

Property Value

ComponentInteractionTypeReader<TContext>

IgnoreCase

Default = false

public bool? IgnoreCase { get; set; }

Property Value

bool?

ParameterSeparator

public char? ParameterSeparator { get; set; }

Property Value

char?

ResultHandler

public IComponentInteractionResultHandler<TContext>? ResultHandler { get; set; }

Property Value

IComponentInteractionResultHandler<TContext>

ResultResolverProvider

public IResultResolverProvider<TContext>? ResultResolverProvider { get; set; }

Property Value

IResultResolverProvider<TContext>

TypeReaders

public Dictionary<Type, ComponentInteractionTypeReader<TContext>> TypeReaders { get; set; }

Property Value

Dictionary<Type, ComponentInteractionTypeReader<TContext>>

UseScopes

public bool? UseScopes { get; set; }

Property Value

bool?