Пример #1
0
 public static List <FileDialogFilter> AddPatterns(this List <FileDialogFilter> filters, string name, IEnumerable <string> patterns)
 {
     filters.Add(FileDialogFilter.ByPatterns(name, patterns));
     return(filters);
 }
Пример #2
0
 public static List <FileDialogFilter> AddPatterns(this List <FileDialogFilter> filters, string name, params string[] patterns)
 {
     filters.Add(FileDialogFilter.ByPatterns(name, patterns));
     return(filters);
 }
Пример #3
0
 public static List <FileDialogFilter> AddExtensions(this List <FileDialogFilter> filters, string name, params string[] extensions)
 {
     filters.Add(FileDialogFilter.ByExtensions(name, extensions));
     return(filters);
 }
Пример #4
0
 public static List <FileDialogFilter> AddExtensions(this List <FileDialogFilter> filters, string name, IEnumerable <string> extensions)
 {
     filters.Add(FileDialogFilter.ByExtensions(name, extensions));
     return(filters);
 }
Пример #5
0
 public static List <FileDialogFilter> AddAllFiles(this List <FileDialogFilter> filters, string name = "All files")
 {
     filters.Add(FileDialogFilter.ByAllFiles(name));
     return(filters);
 }