From c6752e71c4278668409e1f9fe0f2be1ba816c900 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 6 Sep 2021 22:13:33 -0500 Subject: add back ApplicationState --- src/slskd/Application/Management/ManagementService.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/slskd/Application/Management/ManagementService.cs b/src/slskd/Application/Management/ManagementService.cs index 07767e20..0aff7658 100644 --- a/src/slskd/Application/Management/ManagementService.cs +++ b/src/slskd/Application/Management/ManagementService.cs @@ -57,6 +57,11 @@ namespace slskd.Management private IHttpClientFactory HttpClientFactory { get; } private ILogger Log { get; } = Serilog.Log.ForContext(); + /// + /// Gets the current state of the slskd service. + /// + public ApplicationState ApplicationState => ApplicationStateMonitor.CurrentValue; + /// /// Gets the current state of the connection to the Soulseek server. /// -- cgit v1.2.3