public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct)
        {
            var list = await _filesEnumerator.GetFilesListAsync(ct, startingFolder);

            return(list.Select(f => new string(f.ToCharArray().Reverse().ToArray())));
        }
예제 #2
0
 public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct)
 => await _filesEnumerator.GetFilesListAsync(ct, startingFolder);
예제 #3
0
        public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct)
        {
            var list = await _filesEnumerator.GetFilesListAsync(ct, startingFolder, "*.cs");

            return(list.Select(f => $"{f} /"));
        }
        public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct)
        {
            var list = await _filesEnumerator.GetFilesListAsync(ct, startingFolder);

            return(list.Select(f => string.Join(@"\", f.Split('\\').Reverse())));
        }