private void ReadScript(String language) { var line = ""; var builder = new StringBuilder(); while (true) { line = Reader.ReadLine(); if (line == "endscript") { break; } builder.AppendLine(line); } if (ScriptReceived != null) { try { var script = ScriptFactory.Create(language, builder.ToString()); ScriptReceived(this, new ScriptEventArgs(this, script)); } catch (Exception ex) { SendMessage("Compile Error: " + ex.Message); } } }
public void setup() { _file = new FileInfo(@"~\..\..\..\TestFiles\1_Extract\Extract SalesData.qvw"); _script = ScriptFactory.Create(_file); }
public static void CreateNaukriBehaviourTemplate() { ScriptFactory.Create("NaukriBehaviour.cs", "NewBehaviourScript.cs"); }
public void setup() { QlikViewApp.App = new mocked_qlikview(Script); _script = ScriptFactory.Create(new FileInfo("c:\\notapath")); }