Class ComponentInteractionServiceHostBuilderExtensions
- Namespace
- NetCord.Hosting.Services.ComponentInteractions
- Assembly
- NetCord.Hosting.Services.dll
public static class ComponentInteractionServiceHostBuilderExtensions
- Inheritance
-
ComponentInteractionServiceHostBuilderExtensions
- Inherited Members
-
Methods
public static IHostBuilder ConfigureComponentInteractions(this IHostBuilder builder, Action<ComponentInteractionServiceOptions, IServiceProvider> configureOptions)
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions, IServiceProvider>
Returns
- IHostBuilder
public static IHostBuilder ConfigureComponentInteractions(this IHostBuilder builder, Action<ComponentInteractionServiceOptions> configureOptions)
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions>
Returns
- IHostBuilder
public static IHostBuilder ConfigureComponentInteractions<TInteraction, TContext>(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider>
Returns
- IHostBuilder
Type Parameters
TInteraction
TContext
public static IHostBuilder ConfigureComponentInteractions<TInteraction, TContext>(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<TInteraction, TContext>> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<TInteraction, TContext>>
Returns
- IHostBuilder
Type Parameters
TInteraction
TContext
UseComponentInteractions(IHostBuilder)
public static IHostBuilder UseComponentInteractions(this IHostBuilder builder)
Parameters
builder
IHostBuilder
Returns
- IHostBuilder
UseComponentInteractions(IHostBuilder, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>, IServiceProvider>)
public static IHostBuilder UseComponentInteractions(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>, IServiceProvider> configureOptions)
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>, IServiceProvider>
Returns
- IHostBuilder
UseComponentInteractions(IHostBuilder, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>>)
public static IHostBuilder UseComponentInteractions(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>> configureOptions)
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>>
Returns
- IHostBuilder
UseComponentInteractions<TInteraction, TContext>(IHostBuilder)
public static IHostBuilder UseComponentInteractions<TInteraction, TContext>(this IHostBuilder builder) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext
Parameters
builder
IHostBuilder
Returns
- IHostBuilder
Type Parameters
TInteraction
TContext
UseComponentInteractions<TInteraction, TContext>(IHostBuilder, Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider>)
public static IHostBuilder UseComponentInteractions<TInteraction, TContext>(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider>
Returns
- IHostBuilder
Type Parameters
TInteraction
TContext
UseComponentInteractions<TInteraction, TContext>(IHostBuilder, Action<ComponentInteractionServiceOptions<TInteraction, TContext>>)
public static IHostBuilder UseComponentInteractions<TInteraction, TContext>(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<TInteraction, TContext>> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<TInteraction, TContext>>
Returns
- IHostBuilder
Type Parameters
TInteraction
TContext
UseHttpComponentInteractions(IHostBuilder)
public static IHostBuilder UseHttpComponentInteractions(this IHostBuilder builder)
Parameters
builder
IHostBuilder
Returns
- IHostBuilder
UseHttpComponentInteractions(IHostBuilder, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>, IServiceProvider>)
public static IHostBuilder UseHttpComponentInteractions(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>, IServiceProvider> configureOptions)
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>, IServiceProvider>
Returns
- IHostBuilder
UseHttpComponentInteractions(IHostBuilder, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>>)
public static IHostBuilder UseHttpComponentInteractions(this IHostBuilder builder, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>> configureOptions)
Parameters
builder
IHostBuilder
configureOptions
Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>>
Returns
- IHostBuilder