Пример #1
0
        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();
        }
Пример #2
0
        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);
        }
Пример #3
0
        // 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;
        }
Пример #4
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];
			
			// read
			for (int i0 = 0; i0 < n0; i0++) {
				arr[i0] = (byps.test.api.cons.HebrewZ)bin.readObj(false, null);
			}
			
			return arr;
		}
Пример #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);
        }