public void Run() { Logger.Info($"{nameof(Run)}"); var report = ExecutorService.Setup(ScriptService.Current, ScriptService); NavMgr.NavigateTo($"/executor/{report.Id}"); ExecutorService.Run(report); }
private void OnItemClicked(string colName, Job report) { switch (colName) { case nameof(Script.Run): var newReport = ExecutorService.Setup(report, ScriptService); NavMgr.NavigateTo($"/executor/{report.Id}"); ExecutorService.Run(newReport); break; } }
private void OnItemClicked(string colName, NatsMessage message) { switch (colName) { case nameof(NatsMessage.Inspect): Inspector.Data = message.Data; NavMgr.NavigateTo("/inspector"); break; case nameof(NatsMessage.Pin): NatsService.Save(message.Clone()); break; } }
private void OnItemClicked(string colName, Script script) { switch (colName) { case nameof(Script.Load): OnItemDoubleClicked(colName, script); break; case nameof(Script.Run): var report = ExecutorService.Setup(script, ScriptService); NavMgr.NavigateTo($"/executor/{report.Id}"); ExecutorService.Run(report); break; } }
protected void VldFrm() { try { if (EsEdt) { _PrdBO.Grd(Prd); } else { _ = _PrdBO.Cre(Prd); } NavMgr.NavigateTo("/Prds"); } catch (Exception ex) { (Msg, MsgCls) = Util.Msg_Set(ex.Message, "alert-danger"); } }
private void OnItemClicked(string colName, NatsMessage message) { switch (colName) { case nameof(NatsMessage.Inspect): Inspector.Data = message.Data; NavMgr.NavigateTo("/inspector"); break; case nameof(NatsMessage.Run): Publish(message.Subject, message.Data); break; case nameof(NatsMessage.Trash): NatsService.Configuration.SavedMessages.Remove(message); NatsService.Save(); MessageGrid.Remove(message); break; } }
protected void Back_Click() { NavMgr.NavigateTo("/prds"); }
private void OnItemDoubleClicked(string colName, Job report) { Logger.Info($"Set current report: {report.Name}"); NavMgr.NavigateTo($"/executor/{report.Id}"); }
private void OnItemDoubleClicked(string colName, Script script) { Logger.Info($"Set current script: {script.Name}"); ScriptService.SetCurrent(script); NavMgr.NavigateTo("/editor"); }