예제 #1
0
파일: RSystem.cs 프로젝트: whztt07/MoCross
 //============================================================
 public static void ProcessAll(HSystemRunner runner)
 {
     RSpeedTest.TestStart();
     try {
         runner();
     } catch (Exception e) {
         _logger.Error(null, "ProcessAll", null, e.Message);
     } finally {
         RSystem.Release();
         _logger.Debug(null, "ProcessAll", "Run all in time {0}", RSpeedTest.TestEnd().Dump());
     }
 }
예제 #2
0
파일: RSystem.cs 프로젝트: whztt07/MoCross
 //============================================================
 public static void Process(HSystemRunner runner)
 {
     RSpeedTest.TestStart();
     try {
         runner();
     } catch (Exception e) {
         _logger.Fatal(null, "Process", e);
         throw new FFatalException(e);
     } finally {
         RSystem.Release();
         _logger.Debug(null, "Process", "Run all in time {0}", RSpeedTest.TestEnd().Dump());
     }
 }