// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task<IList<FileInfo>> FindFilesAsync(String path, FindOptions findOptions){ BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles(); req.pathValue = path; req.findOptionsValue = findOptions; Task<IList<FileInfo>> task = Task<IList<FileInfo>>.Factory.FromAsync(transport.BeginSend<IList<FileInfo>>, transport.EndSend<IList<FileInfo>>, req, null); return await task; }
public virtual void FindFiles(String path, FindOptions findOptions, BAsyncResult <IList <FileInfo> > asyncResult) { BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles(); req.pathValue = path; req.findOptionsValue = findOptions; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task <IList <FileInfo> > FindFilesAsync(String path, FindOptions findOptions) { BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles(); req.pathValue = path; req.findOptionsValue = findOptions; Task <IList <FileInfo> > task = Task <IList <FileInfo> > .Factory.FromAsync(transport.BeginSend <IList <FileInfo> >, transport.EndSend <IList <FileInfo> >, req, null); return(await task); }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_FileSystemService_findFiles obj = (BRequest_FileSystemService_findFiles)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 bout.writeObj(obj.findOptionsValue, false, null); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_FileSystemService_findFiles obj = (BRequest_FileSystemService_findFiles)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FileSystemService_findFiles())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.pathValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.findOptionsValue = (com.wilutions.jsfs.FindOptions)bin.readObj(false, null); return(obj); }
public virtual void FindFiles(String path, FindOptions findOptions, BAsyncResult<IList<FileInfo>> asyncResult) { BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles(); req.pathValue = path; req.findOptionsValue = findOptions; transport.sendMethod(req, asyncResult); }