private void EventSink_SvgParsed(SvgTask task) { string data = JsonConvert.SerializeObject(task); ScriptRunner.Run(ScriptAction.SvgTaskResolved, Utility.HtmlEncode(data)); }
private void EventSink_GerberParsed(GerberTask task) { string data = JsonConvert.SerializeObject(task, Formatting.Indented); ScriptRunner.Run(ScriptAction.GerberTaskResolved, Utility.HtmlEncode(data)); }
private void EventSink_PnpFileParsed(PnpJob task) { string data = JsonConvert.SerializeObject(task); ScriptRunner.Run(ScriptAction.PnpTaskResolved, Utility.HtmlEncode(data)); }