コード例 #1
0
 public async Task <IFile[]> GetFiles()
 {
     return((await ContentSmb?.ListFilesAsync()).Where(a => a.IsFile())?.Select(a => new FileSmb(a)).ToArray());
 }
コード例 #2
0
 public async Task <IDirectory[]> GetDirectories()
 {
     return((await ContentSmb?.ListFilesAsync()).Where(a => a.IsDirectory())?.Select(a => new DirectorySmb(a)).ToArray());
 }