diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-09-06 22:13:33 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-09-06 22:13:33 -0500 |
| commit | c6752e71c4278668409e1f9fe0f2be1ba816c900 (patch) | |
| tree | 83c9c915e67c27e9b761df74a845f39cd5e76856 /src | |
| parent | c7f63e0468c0ca034986d8c72627f9a02040ba43 (diff) | |
| download | slskd-c6752e71c4278668409e1f9fe0f2be1ba816c900.tar.gz | |
add back ApplicationState
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application/Management/ManagementService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -58,6 +58,11 @@ namespace slskd.Management private ILogger Log { get; } = Serilog.Log.ForContext<ManagementService>(); /// <summary> + /// Gets the current state of the slskd service. + /// </summary> + public ApplicationState ApplicationState => ApplicationStateMonitor.CurrentValue; + + /// <summary> /// Gets the current state of the connection to the Soulseek server. /// </summary> public ServerState ServerState => |
