Exit() 공개 메소드

public Exit ( ) : void
리턴 void
예제 #1
0
        public InstallerBase()
        {
            if (sPlatform.IsLinux)
            {
                ServicePointManager.ServerCertificateValidationCallback += (s, ce, ca, p) => true;
            }

            WebRequest.DefaultWebProxy = null;
            Log.Notice("InstallerBase", sLConsole.GetString("Installer started."));

            string url = GetUrl();

            CloneSourceCode(url);
            BuildSourceCode();
            CopyNewFiles();
            Clean();

            Log.Success("Installer", sLConsole.GetString("The installation is finished. The program shutting down!"));
            sRuntime.Exit();
        }
예제 #2
0
 public static void Shutdown()
 {
     Console.CursorVisible = true;
     sRuntime.Exit();
 }