/// <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); }
/// <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); }
public void updateInfo(int index, SBEEvent evt) { SBE.evt[index] = evt; }