Esempio n. 1
0
 public ScriptObject this[int index] {
     get{
         x.exec("document.body['<msg:argument>']=document.body['<mwg:root>'].args[" + index.ToString() + "];");
         return(x.FromManaged(x.win.document.body.getAttribute("<mwg:argument>", 0)));
     }
     set{
         x.win.document.body.setAttribute("<mwg:argument>", value.obj, 0);
         x.exec("document.body['<mwg:root>'].args[" + index.ToString() + "]=document.body['<mwg:argument>'];");
     }
 }
Esempio n. 2
0
 internal ExecArguments(ScriptExecutor x)
 {
     this.x = x;
     x.exec("document.body['<mwg:root>'].args=[];");
 }