Interface IComponentInteractionService
- Namespace
- NetCord.Services.ComponentInteractions
- Assembly
- NetCord.Services.dll
Base interface for ComponentInteractionService<TContext>.
public interface IComponentInteractionService : IService
- Inherited Members
Methods
AddComponentInteraction(ComponentInteractionBuilder)
Adds a component interaction to the service.
void AddComponentInteraction(ComponentInteractionBuilder builder)
Parameters
builderComponentInteractionBuilderThe component interaction builder.
AddModule(Type)
Adds a module to the service.
void AddModule(Type type)
Parameters
typeTypeThe type of the module to add.
AddModule<T>()
Adds a module to the service.
void AddModule<T>()
Type Parameters
TThe type of the module to add.