Exemplo n.º 1
0
 /// <summary>
 /// Immediately execute 'PRE' of Solution
 /// </summary>
 protected int execPre(SBEEvent evt)
 {
     try {
         if (Cmd.exec(evt, SolutionEventType.Pre))
         {
             Log.Info($"[Pre] finished '{evt.Name}': {evt.Caption}");
         }
         return(Codes.Success);
     }
     catch (Exception ex) {
         Log.Error("Pre-Build error: {0}", ex.Message);
     }
     return(Codes.Failed);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Immediately execute 'PRE' of Solution
 /// </summary>
 protected int execPre(SBEEvent evt)
 {
     try {
         if (Cmd.exec(evt, SolutionEventType.Pre))
         {
             Log.Info($"[{SolutionEventType.Pre}] finished '{evt.Name}'");
         }
         return(Codes.Success);
     }
     catch (Exception ex) {
         Log.Error($"[{SolutionEventType.Pre}] error: {ex.Message}");
         Log.Debug(ex.StackTrace);
     }
     return(Codes.Failed);
 }
Exemplo n.º 3
0
 public void updateInfo(int index, SBEEvent evt)
 {
     SBE.evt[index] = evt;
 }