public override void execute(BRemote __byps__remote, BAsyncResultIF <Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:413 try { RemoteListTypes __byps__remoteT = (RemoteListTypes)__byps__remote; BAsyncResultSendMethod <IList <IList <int> > > __byps__outerResult = new BAsyncResultSendMethod <IList <IList <int> > >(__byps__asyncResult, new byps.test.api.BResult_1746702954()); __byps__remoteT.GetInt3(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public void testRemoteListListint() { log.info("testRemoteListListint("); ListListTypes obj = new ListListTypes(); List <IList <int> > list = new List <IList <int> >(); for (int i = 0; i < 3; i++) { List <int> itemList = new List <int>(); for (int j = 0; j < i + 1; j++) { itemList.Add(j); } } obj.Int2 = list; remote.SetInt3(obj.Int2); TestUtils.assertEquals(log, "int3", obj.Int2, remote.GetInt3()); log.info(")testRemoteListListint"); }