コード例 #1
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task WriteAllTextAsync(String path, String text){
			BRequest_FileSystemService_writeAllText req = new BRequest_FileSystemService_writeAllText();			
			req.pathValue = path;
			req.textValue = text;
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
コード例 #2
0
        public virtual void WriteAllText(String path, String text, BAsyncResult <Object> asyncResult)
        {
            BRequest_FileSystemService_writeAllText req = new BRequest_FileSystemService_writeAllText();

            req.pathValue = path;
            req.textValue = text;
            transport.sendMethod(req, asyncResult);
        }
コード例 #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task WriteAllTextAsync(String path, String text)
        {
            BRequest_FileSystemService_writeAllText req = new BRequest_FileSystemService_writeAllText();

            req.pathValue = path;
            req.textValue = text;
            Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null);

            await task;
        }
コード例 #4
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_FileSystemService_writeAllText obj = (BRequest_FileSystemService_writeAllText)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.pathValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.textValue);
        }
コード例 #5
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_FileSystemService_writeAllText obj = (BRequest_FileSystemService_writeAllText)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FileSystemService_writeAllText()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.pathValue = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.textValue = bbuf.getString();

            return(obj);
        }
コード例 #6
0
		public virtual void WriteAllText(String path, String text, BAsyncResult<Object> asyncResult) {
			BRequest_FileSystemService_writeAllText req = new BRequest_FileSystemService_writeAllText();			
			req.pathValue = path;
			req.textValue = text;
			transport.sendMethod(req, asyncResult);
		}