diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-07 10:38:31 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-07 10:38:31 -0400 |
| commit | 65f78ea5ad19620d73eba54ac289fb78ef70af2b (patch) | |
| tree | 204602c95134b6e81c8cd6efc83c7b67374eeab3 /MediaBrowser.ServerApplication/Native/NativeApp.cs | |
| parent | 3f1cafdc814c6d0ef866f1c68dcb4dd1034099ec (diff) | |
added CanSelfRestart
Diffstat (limited to 'MediaBrowser.ServerApplication/Native/NativeApp.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/Native/NativeApp.cs | 12 |
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; + } + } } } |
