Beispiel #1
0
 private static int Main(string[] args)
 {
     AppDomain.CurrentDomain.UnhandledException += (_, e) =>
     {
         CarnaConsole.WriteLine(e.ExceptionObject as Exception);
         Environment.Exit(CarnaConsoleRunnerResult.Error.Value());
     };
     return(CarnaConsoleRunner.Run(args, CarnaConsoleRunner.Name));
 }
Beispiel #2
0
 static int Main(string[] args) => CarnaConsoleRunner.Run(args);
Beispiel #3
0
 private static void Main(string[] args) => CarnaConsoleRunner.Run(args);