mirror of
https://github.com/Stefan-5422/-T5-Elektrifikatsiya.git
synced 2026-09-04 00:45:58 +02:00
Final
This commit is contained in:
@@ -34,6 +34,7 @@ builder.Services.AddSingleton<INotificationService, NotifcationService>();
|
|||||||
builder.Services.AddSingleton<IScheduledService>(s => s.GetRequiredService<IUpdateService>());
|
builder.Services.AddSingleton<IScheduledService>(s => s.GetRequiredService<IUpdateService>());
|
||||||
builder.Services.AddSingleton<IScheduledService>(s=>s.GetRequiredService<INotificationService>());
|
builder.Services.AddSingleton<IScheduledService>(s=>s.GetRequiredService<INotificationService>());
|
||||||
builder.Services.AddSingleton<IEmailService, EmailService>();
|
builder.Services.AddSingleton<IEmailService, EmailService>();
|
||||||
|
builder.Services.AddSingleton<IEventService, EventService>();
|
||||||
builder.Services.AddSingleton<IHiveMQClient, HiveMQClient>((provider)=>
|
builder.Services.AddSingleton<IHiveMQClient, HiveMQClient>((provider)=>
|
||||||
{
|
{
|
||||||
HiveMQClientOptions options = new()
|
HiveMQClientOptions options = new()
|
||||||
|
|||||||
Reference in New Issue
Block a user