public virtual void UploadFile(String path, String url, BAsyncResult <Object> asyncResult) { BRequest_FileSystemService_uploadFile req = new BRequest_FileSystemService_uploadFile(); req.pathValue = path; req.urlValue = url; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task UploadFileAsync(String path, String url) { BRequest_FileSystemService_uploadFile req = new BRequest_FileSystemService_uploadFile(); req.pathValue = path; req.urlValue = url; Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null); await task; }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_FileSystemService_uploadFile obj = (BRequest_FileSystemService_uploadFile)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.urlValue); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_FileSystemService_uploadFile obj = (BRequest_FileSystemService_uploadFile)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FileSystemService_uploadFile())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.pathValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.urlValue = bbuf.getString(); return(obj); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task UploadFileAsync(String path, String url){ BRequest_FileSystemService_uploadFile req = new BRequest_FileSystemService_uploadFile(); req.pathValue = path; req.urlValue = url; Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null); await task; }
public virtual void UploadFile(String path, String url, BAsyncResult<Object> asyncResult) { BRequest_FileSystemService_uploadFile req = new BRequest_FileSystemService_uploadFile(); req.pathValue = path; req.urlValue = url; transport.sendMethod(req, asyncResult); }