mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 15:48:03 +00:00
Add SystemManager service
This commit is contained in:
@@ -35,21 +35,15 @@ namespace MediaBrowser.Common
|
||||
string SystemId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance has pending kernel reload.
|
||||
/// Gets a value indicating whether this instance has pending changes requiring a restart.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance has pending kernel reload; otherwise, <c>false</c>.</value>
|
||||
/// <value><c>true</c> if this instance has a pending restart; otherwise, <c>false</c>.</value>
|
||||
bool HasPendingRestart { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance is currently shutting down.
|
||||
/// Gets or sets a value indicating whether the application should restart.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is shutting down; otherwise, <c>false</c>.</value>
|
||||
bool IsShuttingDown { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the application should restart.
|
||||
/// </summary>
|
||||
bool ShouldRestart { get; }
|
||||
bool ShouldRestart { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the application version.
|
||||
@@ -91,11 +85,6 @@ namespace MediaBrowser.Common
|
||||
/// </summary>
|
||||
void NotifyPendingRestart();
|
||||
|
||||
/// <summary>
|
||||
/// Restarts this instance.
|
||||
/// </summary>
|
||||
void Restart();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the exports.
|
||||
/// </summary>
|
||||
@@ -127,11 +116,6 @@ namespace MediaBrowser.Common
|
||||
/// <returns>``0.</returns>
|
||||
T Resolve<T>();
|
||||
|
||||
/// <summary>
|
||||
/// Shuts down.
|
||||
/// </summary>
|
||||
void Shutdown();
|
||||
|
||||
/// <summary>
|
||||
/// Initializes this instance.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user