public virtual void UploadFilesMultipartFormdata(FormItem[] items, String url, String method, BAsyncResult <Object> asyncResult) { BRequest_FileSystemService_uploadFilesMultipartFormdata req = new BRequest_FileSystemService_uploadFilesMultipartFormdata(); req.itemsValue = items; req.urlValue = url; req.methodValue = method; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task UploadFilesMultipartFormdataAsync(FormItem[] items, String url, String method) { BRequest_FileSystemService_uploadFilesMultipartFormdata req = new BRequest_FileSystemService_uploadFilesMultipartFormdata(); req.itemsValue = items; req.urlValue = url; req.methodValue = method; 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_uploadFilesMultipartFormdata obj = (BRequest_FileSystemService_uploadFilesMultipartFormdata)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.methodValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.urlValue); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.itemsValue, false, com.wilutions.jsfs.BSerializer_566696346.instance); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_FileSystemService_uploadFilesMultipartFormdata obj = (BRequest_FileSystemService_uploadFilesMultipartFormdata)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FileSystemService_uploadFilesMultipartFormdata())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.methodValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.urlValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.itemsValue = (com.wilutions.jsfs.FormItem[])bin.readObj(false, com.wilutions.jsfs.BSerializer_566696346.instance); return(obj); }