Beispiel #1
0
 private static bool Write(STI item)
 {
     try
     {
         File.AppendAllText(item.file, item.line + "\n");
         return(true);
     }
     catch (Exception crashed)
     {
         Console.WriteLine(crashed.ToString());
         return(false);
     }
 }
Beispiel #2
0
 private static bool Write(STI item)
 {
     try
     {
         System.IO.File.AppendAllText(item.file, item.line + "\n");
         return(true);
     }
     catch (Exception crashed)
     {
         core.Log("Unable to write data into " + item.file + " skipping this", true);
         Console.WriteLine(crashed.ToString());
         return(false);
     }
 }
 private static bool Write(STI item)
 {
     try
     {
         System.IO.File.AppendAllText(item.file, item.line + "\n");
         return true;
     }
     catch (Exception crashed)
     {
         Console.WriteLine(crashed.ToString());
         return false;
     }
 }
Beispiel #4
0
 private static bool Write(STI item)
 {
     try
     {
         System.IO.File.AppendAllText(item.file, item.line + "\n");
         return true;
     }
     catch (Exception crashed)
     {
         core.Log("Unable to write data into " + item.file + " skipping this", true);
         Console.WriteLine(crashed.ToString());
         return false;
     }
 }