added CanSelfRestart

This commit is contained in:
Luke Pulverenti
2013-10-07 10:38:31 -04:00
parent 3f1cafdc81
commit 65f78ea5ad
9 changed files with 70 additions and 10 deletions

View File

@@ -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;
}
}
}
}