Esempio n. 1
0
            public static IFilter <FileSystemEntry> Matches(FileDialogFilter?filter)
            {
                if (filter == null || filter.Extensions.Contains("*"))
                {
                    return(True <FileSystemEntry>());
                }

                return(StorageFuncFilter.New(filter, MatchesFilter));
            }
Esempio n. 2
0
 public static IFilter <string> Contains(char c) => StorageFuncFilter.New(c, ContainsChar);