public virtual void Compare_HebrewC(byps.test.api.cons.HebrewZ ALEPH, byps.test.api.cons.HebrewZ BETH)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            Compare_HebrewC(ALEPH, BETH, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
        public virtual void Compare_HebrewC(byps.test.api.cons.HebrewZ ALEPH, byps.test.api.cons.HebrewZ BETH, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteConstants_compare_HebrewC req = new BRequest_RemoteConstants_compare_HebrewC();

            req.ALEPHValue = ALEPH;
            req.BETHValue  = BETH;
            transport.sendMethod(req, asyncResult);
        }
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task Compare_HebrewCAsync(byps.test.api.cons.HebrewZ ALEPH, byps.test.api.cons.HebrewZ BETH)
        {
            BRequest_RemoteConstants_compare_HebrewC req = new BRequest_RemoteConstants_compare_HebrewC();

            req.ALEPHValue = ALEPH;
            req.BETHValue  = BETH;
            Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null);

            await task;
        }
		public override Object read(Object obj1, BInput bin1, long version) {
			BInputBin bin = (BInputBin)bin1;
			BBufferBin bbuf = bin.bbuf;
			
			// lengths
			int n0 = bbuf.getLength();
			
			// create array
			byps.test.api.cons.HebrewZ[] arr =  new byps.test.api.cons.HebrewZ[n0];
			
			// read
			for (int i0 = 0; i0 < n0; i0++) {
				arr[i0] = (byps.test.api.cons.HebrewZ)bin.readObj(false, null);
			}
			
			return arr;
		}
Beispiel #5
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n0 = bbuf.getLength();

            // create array
            byps.test.api.cons.HebrewZ[] arr = new byps.test.api.cons.HebrewZ[n0];
            bin.onObjectCreated(arr);

            // read
            for (int i0 = 0; i0 < n0; i0++)
            {
                arr[i0] = (byps.test.api.cons.HebrewZ)bin.readObj(false, null);
            }

            return(arr);
        }