Class ComponentInteractionServiceHostExtensions
- Namespace
- NetCord.Hosting.Services.ComponentInteractions
- Assembly
- NetCord.Hosting.Services.dll
public static class ComponentInteractionServiceHostExtensions
- Inheritance
-
ComponentInteractionServiceHostExtensions
- Inherited Members
-
Methods
AddComponentInteraction(IHost, string, Delegate)
public static IHost AddComponentInteraction(this IHost host, string customId, Delegate handler)
Parameters
host
IHost
customId
string
handler
Delegate
Returns
- IHost
AddComponentInteractionModule(IHost, Type)
public static IHost AddComponentInteractionModule(this IHost host, Type type)
Parameters
host
IHost
type
Type
Returns
- IHost
AddComponentInteractionModule<T>(IHost)
public static IHost AddComponentInteractionModule<T>(this IHost host)
Parameters
host
IHost
Returns
- IHost
Type Parameters
T
AddComponentInteractionModule<TContext>(IHost, Type)
public static IHost AddComponentInteractionModule<TContext>(this IHost host, Type type) where TContext : IComponentInteractionContext
Parameters
host
IHost
type
Type
Returns
- IHost
Type Parameters
TContext
AddComponentInteractionModule<TContext, T>(IHost)
public static IHost AddComponentInteractionModule<TContext, T>(this IHost host) where TContext : IComponentInteractionContext
Parameters
host
IHost
Returns
- IHost
Type Parameters
TContext
T
AddComponentInteraction<TContext>(IHost, string, Delegate)
public static IHost AddComponentInteraction<TContext>(this IHost host, string customId, Delegate handler) where TContext : IComponentInteractionContext
Parameters
host
IHost
customId
string
handler
Delegate
Returns
- IHost
Type Parameters
TContext