From 65f78ea5ad19620d73eba54ac289fb78ef70af2b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 7 Oct 2013 10:38:31 -0400 Subject: added CanSelfRestart --- MediaBrowser.ServerApplication/Native/NativeApp.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'MediaBrowser.ServerApplication/Native') 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(); } + + /// + /// Determines whether this instance [can self restart]. + /// + /// true if this instance [can self restart]; otherwise, false. + public static bool CanSelfRestart + { + get + { + return MainStartup.CanSelfRestart; + } + } } } -- cgit v1.2.3