aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/IApplicationHost.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/IApplicationHost.cs')
-rw-r--r--MediaBrowser.Common/IApplicationHost.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/MediaBrowser.Common/IApplicationHost.cs b/MediaBrowser.Common/IApplicationHost.cs
index 96ee701b3..5985d3dd8 100644
--- a/MediaBrowser.Common/IApplicationHost.cs
+++ b/MediaBrowser.Common/IApplicationHost.cs
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Reflection;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace MediaBrowser.Common
@@ -48,6 +47,11 @@ namespace MediaBrowser.Common
bool IsShuttingDown { get; }
/// <summary>
+ /// Gets a value indicating whether the application should restart.
+ /// </summary>
+ bool ShouldRestart { get; }
+
+ /// <summary>
/// Gets the application version.
/// </summary>
/// <value>The application version.</value>
@@ -126,8 +130,7 @@ namespace MediaBrowser.Common
/// <summary>
/// Shuts down.
/// </summary>
- /// <returns>A task.</returns>
- Task Shutdown();
+ void Shutdown();
/// <summary>
/// Initializes this instance.