Пример #1
0
            public static IFilter <FileSystemEntry> Matches(FileDialogFilter?filter)
            {
                if (filter == null || filter.Extensions.Contains("*"))
                {
                    return(True <FileSystemEntry>());
                }

                return(StorageFuncFilter.New(filter, MatchesFilter));
            }
Пример #2
0
 public static IFilter <string> Contains(char c) => StorageFuncFilter.New(c, ContainsChar);