// 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 async void FindFiles(String path, FindOptions findOptions, BAsyncResult<IList<FileInfo>> asyncResult) { IList<FileInfo> __byps__ret = default(IList<FileInfo>); Exception __byps__ex = null; bool __byps__callAsync = false; try { __byps__ret = FindFiles(path, findOptions); } catch (NotImplementedException) { __byps__callAsync = true; } catch (Exception e) { __byps__ex = e; } if (__byps__callAsync) try { __byps__ret = await FindFilesAsync(path, findOptions); } catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); } catch (Exception e) { __byps__ex = e; } asyncResult(__byps__ret, __byps__ex); }
/// <summary> /// List files in a directory. /// </summary> public virtual Task<IList<FileInfo>> FindFilesAsync(String path, FindOptions findOptions){ return BTaskConstants<IList<FileInfo>>.NotImplemented; }
public virtual IList<FileInfo> FindFiles(String path, FindOptions findOptions) { throw new NotImplementedException(); }
public FindOptions(FindOptions rhs) { this.reservedValue = rhs.reservedValue; }
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); }
public virtual IList<FileInfo> FindFiles(String path, FindOptions findOptions) { BSyncResult<IList<FileInfo>> asyncResult = new BSyncResult<IList<FileInfo>>(); FindFiles(path, findOptions, BAsyncResultHelper.ToDelegate<IList<FileInfo>>(asyncResult)); return asyncResult.GetResult(); }
public virtual IList <FileInfo> FindFiles(String path, FindOptions findOptions) { throw new NotImplementedException(); }