Table of Contents

Class ComponentInteractionServiceServiceCollectionExtensions

Namespace
NetCord.Hosting.Services.ComponentInteractions
Assembly
NetCord.Hosting.Services.dll
public static class ComponentInteractionServiceServiceCollectionExtensions
Inheritance
ComponentInteractionServiceServiceCollectionExtensions
Inherited Members

Methods

AddComponentInteractions(IServiceCollection)

public static IServiceCollection AddComponentInteractions(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

AddComponentInteractions(IServiceCollection, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>, IServiceProvider>)

public static IServiceCollection AddComponentInteractions(this IServiceCollection services, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>, IServiceProvider> configureOptions)

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>, IServiceProvider>

Returns

IServiceCollection

AddComponentInteractions(IServiceCollection, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>>)

public static IServiceCollection AddComponentInteractions(this IServiceCollection services, Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>> configureOptions)

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<ComponentInteraction, ComponentInteractionContext>>

Returns

IServiceCollection

AddComponentInteractions<TInteraction, TContext>(IServiceCollection)

public static IServiceCollection AddComponentInteractions<TInteraction, TContext>(this IServiceCollection services) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext

Parameters

services IServiceCollection

Returns

IServiceCollection

Type Parameters

TInteraction
TContext

AddComponentInteractions<TInteraction, TContext>(IServiceCollection, Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider>)

public static IServiceCollection AddComponentInteractions<TInteraction, TContext>(this IServiceCollection services, Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider>

Returns

IServiceCollection

Type Parameters

TInteraction
TContext

AddComponentInteractions<TInteraction, TContext>(IServiceCollection, Action<ComponentInteractionServiceOptions<TInteraction, TContext>>)

public static IServiceCollection AddComponentInteractions<TInteraction, TContext>(this IServiceCollection services, Action<ComponentInteractionServiceOptions<TInteraction, TContext>> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<TInteraction, TContext>>

Returns

IServiceCollection

Type Parameters

TInteraction
TContext

AddHttpComponentInteractions(IServiceCollection)

public static IServiceCollection AddHttpComponentInteractions(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

AddHttpComponentInteractions(IServiceCollection, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>, IServiceProvider>)

public static IServiceCollection AddHttpComponentInteractions(this IServiceCollection services, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>, IServiceProvider> configureOptions)

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>, IServiceProvider>

Returns

IServiceCollection

AddHttpComponentInteractions(IServiceCollection, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>>)

public static IServiceCollection AddHttpComponentInteractions(this IServiceCollection services, Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>> configureOptions)

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<ComponentInteraction, HttpComponentInteractionContext>>

Returns

IServiceCollection

ConfigureComponentInteractions(IServiceCollection, Action<ComponentInteractionServiceOptions, IServiceProvider>)

public static IServiceCollection ConfigureComponentInteractions(this IServiceCollection services, Action<ComponentInteractionServiceOptions, IServiceProvider> configureOptions)

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions, IServiceProvider>

Returns

IServiceCollection

ConfigureComponentInteractions(IServiceCollection, Action<ComponentInteractionServiceOptions>)

public static IServiceCollection ConfigureComponentInteractions(this IServiceCollection services, Action<ComponentInteractionServiceOptions> configureOptions)

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions>

Returns

IServiceCollection

ConfigureComponentInteractions<TInteraction, TContext>(IServiceCollection, Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider>)

public static IServiceCollection ConfigureComponentInteractions<TInteraction, TContext>(this IServiceCollection services, Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<TInteraction, TContext>, IServiceProvider>

Returns

IServiceCollection

Type Parameters

TInteraction
TContext

ConfigureComponentInteractions<TInteraction, TContext>(IServiceCollection, Action<ComponentInteractionServiceOptions<TInteraction, TContext>>)

public static IServiceCollection ConfigureComponentInteractions<TInteraction, TContext>(this IServiceCollection services, Action<ComponentInteractionServiceOptions<TInteraction, TContext>> configureOptions) where TInteraction : ComponentInteraction where TContext : IComponentInteractionContext

Parameters

services IServiceCollection
configureOptions Action<ComponentInteractionServiceOptions<TInteraction, TContext>>

Returns

IServiceCollection

Type Parameters

TInteraction
TContext