Beispiel #1
0
 public virtual int fooB(Prog[] arg)
 {
     JObjectArray array = new JObjectArray (arg, Prog.JClass);
     return _fooB.CallInt (this, array);
 }
Beispiel #2
0
 public virtual Prog[] fooA()
 {
     JObject o = _fooA.CallObject (this);
     JObjectArray array = new JObjectArray (o);
     JObject[] oArray = (JObject[]) array.Elements;
     int l = array.Length;
     Prog[] r = new Prog[l];
     for (int i = 0; i < l; i++) {
         r[i] = new Prog (oArray[i]);
     }
     return r;
 }