Skip to content

Instantly share code, notes, and snippets.

@MarcoNicolodi
Last active January 28, 2019 09:14
Show Gist options
  • Save MarcoNicolodi/69c74ae114780ead390c63ab6222cdca to your computer and use it in GitHub Desktop.
Save MarcoNicolodi/69c74ae114780ead390c63ab6222cdca to your computer and use it in GitHub Desktop.
public class MatchingFinder : FileChooser
{
protected override async Task<IEnumerable<string>> Find(Request request)
=> await Filesystem.Find(request.Directory, request.Matching);
}
public class ListFinder : FileChooser
{
protected override async Task<IEnumerable<string>> Find(Request request)
=> await Filesystem.List(request.Directory);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment