You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
using MediaBrowser.Server.Startup.Common;
|
|
|
|
namespace MediaBrowser.Server.Mono.Native
|
|
{
|
|
/// <summary>
|
|
/// Class NativeApp
|
|
/// </summary>
|
|
internal class NativeApp : BaseMonoApp
|
|
{
|
|
public NativeApp(StartupOptions startupOptions)
|
|
: base(startupOptions)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Shutdowns this instance.
|
|
/// </summary>
|
|
public override void Shutdown()
|
|
{
|
|
MainClass.Shutdown();
|
|
}
|
|
|
|
/// <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>
|
|
public override void Restart(StartupOptions startupOptions)
|
|
{
|
|
MainClass.Restart(startupOptions);
|
|
}
|
|
}
|
|
}
|