Files
jellyfin-jellyfin-1/MediaBrowser.Server.Mono/Native/NativeApp.cs

39 lines
948 B
C#
Raw Normal View History

2015-06-05 10:27:01 -04:00
using MediaBrowser.Server.Startup.Common;
namespace MediaBrowser.Server.Mono.Native
2013-09-24 20:54:51 -04:00
{
/// <summary>
/// Class NativeApp
/// </summary>
2014-11-25 23:27:55 -05:00
internal class NativeApp : BaseMonoApp
2013-09-24 20:54:51 -04:00
{
/// <summary>
/// Shutdowns this instance.
/// </summary>
2014-11-23 18:10:41 -05:00
public override void Shutdown()
2013-09-24 20:54:51 -04:00
{
MainClass.Shutdown();
2013-09-24 20:54:51 -04:00
}
2015-05-23 18:01:13 -04:00
/// <summary>
/// Determines whether this instance [can self restart].
/// </summary>
/// <value><c>true</c> if this instance can self restart; otherwise, <c>false</c>.</value>
public override bool CanSelfRestart
{
get
{
return true;
}
}
/// <summary>
/// Restarts this instance.
/// </summary>
2015-06-05 10:27:01 -04:00
public override void Restart(StartupOptions startupOptions)
2015-05-23 18:01:13 -04:00
{
2015-06-05 10:27:01 -04:00
MainClass.Restart(startupOptions);
2015-05-23 18:01:13 -04:00
}
2013-09-24 20:54:51 -04:00
}
}