コード例 #1
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <IList <byps.test.api.prim.PrimitiveTypes> > GetPrimitiveTypes1Async()
        {
            BRequest_RemoteListTypes_getPrimitiveTypes1       req  = new BRequest_RemoteListTypes_getPrimitiveTypes1();
            Task <IList <byps.test.api.prim.PrimitiveTypes> > task = Task <IList <byps.test.api.prim.PrimitiveTypes> > .Factory.FromAsync(transport.BeginSend <IList <byps.test.api.prim.PrimitiveTypes> >, transport.EndSend <IList <byps.test.api.prim.PrimitiveTypes> >, req, null);

            return(await task);
        }
コード例 #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemoteListTypes_getPrimitiveTypes1 obj = (BRequest_RemoteListTypes_getPrimitiveTypes1)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteListTypes_getPrimitiveTypes1()));

            BBufferBin bbuf = bin.bbuf;

            return(obj);
        }
コード例 #3
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<IList<byps.test.api.prim.PrimitiveTypes>> GetPrimitiveTypes1Async(){
			BRequest_RemoteListTypes_getPrimitiveTypes1 req = new BRequest_RemoteListTypes_getPrimitiveTypes1();			
			Task<IList<byps.test.api.prim.PrimitiveTypes>> task = Task<IList<byps.test.api.prim.PrimitiveTypes>>.Factory.FromAsync(transport.BeginSend<IList<byps.test.api.prim.PrimitiveTypes>>, transport.EndSend<IList<byps.test.api.prim.PrimitiveTypes>>, req, null);
			return await task;
		}
コード例 #4
0
        public virtual void GetPrimitiveTypes1(BAsyncResult <IList <byps.test.api.prim.PrimitiveTypes> > asyncResult)
        {
            BRequest_RemoteListTypes_getPrimitiveTypes1 req = new BRequest_RemoteListTypes_getPrimitiveTypes1();

            transport.sendMethod(req, asyncResult);
        }
コード例 #5
0
		public virtual void GetPrimitiveTypes1(BAsyncResult<IList<byps.test.api.prim.PrimitiveTypes>> asyncResult) {
			BRequest_RemoteListTypes_getPrimitiveTypes1 req = new BRequest_RemoteListTypes_getPrimitiveTypes1();			
			transport.sendMethod(req, asyncResult);
		}