using MediaBrowser.Server.Startup.Common; namespace MediaBrowser.Server.Mono.Native { /// /// Class NativeApp /// internal class NativeApp : BaseMonoApp { /// /// Shutdowns this instance. /// public override void Shutdown() { MainClass.Shutdown(); } /// /// Determines whether this instance [can self restart]. /// /// true if this instance can self restart; otherwise, false. public override bool CanSelfRestart { get { return true; } } /// /// Restarts this instance. /// public override void Restart(StartupOptions startupOptions) { MainClass.Restart(startupOptions); } } }