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 <Object> __byps__outerResult = new BAsyncResultSendMethod <Object>(__byps__asyncResult, new byps.test.api.BResult_19());
         __byps__remoteT.SetInt3(int3Value, BAsyncResultHelper.ToDelegate(__byps__outerResult));
     } catch (Exception e) {
         __byps__asyncResult.setAsyncResult(null, e);
     }
 }
Exemple #2
0
        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");
        }