Added online detection handler

This commit is contained in:
2025-09-09 23:08:01 +02:00
parent b90100d250
commit 160446eed0
4 changed files with 92 additions and 14 deletions

View File

@@ -58,6 +58,7 @@ public class ServerFactory
// Resolve handlers
var handlers = new List<IServerStateHandler>();
handlers.Add(ActivatorUtilities.CreateInstance<OnlineDetectionHandler>(scope.ServiceProvider));
handlers.Add(ActivatorUtilities.CreateInstance<StartupHandler>(scope.ServiceProvider));
handlers.Add(ActivatorUtilities.CreateInstance<ShutdownHandler>(scope.ServiceProvider));