Ejemplo n.º 1
0
 public void runScriptOnce(String name, IObjectBuilder script)
 {
     throw new NotImplementedException("Implement runScriptOnce and ScriptExporter");
     IScriptExporter exporter = null;// App.CurrentProject.Exporter;
     if (exporter == null)
     {
         MessageBox.Show("No Exporter set", "Error");
         return;
     }
     String scriptExported = script.exportScript(exporter);
     send("PUT /Scripts/" + name + "/ " + scriptExported + " HTTP/1.1", (byte)Connection.CommandType.C_PUT, runScriptOnceCallbackRest, name);
 }
 public override bool ExportScript(IObjectBuilder script, out string scriptString)
 {
     scriptString = script.exportScript(this.Exporter);
     return scriptString.Length != 0;
 }