public static IFilter <FileSystemEntry> Matches(FileDialogFilter?filter) { if (filter == null || filter.Extensions.Contains("*")) { return(True <FileSystemEntry>()); } return(StorageFuncFilter.New(filter, MatchesFilter)); }
public static IFilter <string> Contains(char c) => StorageFuncFilter.New(c, ContainsChar);