API reference
Constructor DiscordWebhookEventDispatcher
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.WebhookEvents
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
DiscordWebhookEventDispatcher(IServiceProvider, ILogger<DiscordWebhookEventDispatcher>)
Initializes a new instance of the DiscordWebhookEventDispatcher class.
public DiscordWebhookEventDispatcher(IServiceProvider provider, ILogger<DiscordWebhookEventDispatcher> logger)
Parameters
providerIServiceProviderThe root service provider.
loggerILogger<DiscordWebhookEventDispatcher>The logger.