aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/Native/NativeApp.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-07 10:38:31 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-07 10:38:31 -0400
commit65f78ea5ad19620d73eba54ac289fb78ef70af2b (patch)
tree204602c95134b6e81c8cd6efc83c7b67374eeab3 /MediaBrowser.ServerApplication/Native/NativeApp.cs
parent3f1cafdc814c6d0ef866f1c68dcb4dd1034099ec (diff)
added CanSelfRestart
Diffstat (limited to 'MediaBrowser.ServerApplication/Native/NativeApp.cs')
-rw-r--r--MediaBrowser.ServerApplication/Native/NativeApp.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/Native/NativeApp.cs b/MediaBrowser.ServerApplication/Native/NativeApp.cs
index ea4218afc..0e114b166 100644
--- a/MediaBrowser.ServerApplication/Native/NativeApp.cs
+++ b/MediaBrowser.ServerApplication/Native/NativeApp.cs
@@ -21,5 +21,17 @@ namespace MediaBrowser.ServerApplication.Native
{
MainStartup.Restart();
}
+
+ /// <summary>
+ /// Determines whether this instance [can self restart].
+ /// </summary>
+ /// <returns><c>true</c> if this instance [can self restart]; otherwise, <c>false</c>.</returns>
+ public static bool CanSelfRestart
+ {
+ get
+ {
+ return MainStartup.CanSelfRestart;
+ }
+ }
}
}