Exemplo n.º 1
0
 public static void DumpAndExit(Exception ex)
 {
     //FIXME this should never happen
     //there is a programming error to be fixed
     Try(() => Dump(ex));
     Try(() => Stdio.SetStatus("{0} {1}", ex.GetType(), ex.Message));
     Try(() => Stdio.LogError(ex));
     Environment.Exit(1);
 }
Exemplo n.º 2
0
 public void WriteLine(string format, params object[] args)
 {
     Stdio.WriteLine(format, args);
 }
Exemplo n.º 3
0
 public string ReadLine()
 {
     return(Stdio.ReadLine());
 }