示例#1
0
 public FileNameFilter(IGlobToRegexConverter globToRegexConverter, IEnumerable<string> toExclude, IEnumerable<string> toInclude) {
     this.globToRegexConverter = globToRegexConverter;
     this.toExclude = BuildRegexesFromGlobs(toExclude);
     this.toInclude = BuildRegexesFromGlobs(toInclude);
 }
示例#2
0
 public FileNameFilter(IGlobToRegexConverter globToRegexConverter, IEnumerable <string> toExclude, IEnumerable <string> toInclude)
 {
     this.globToRegexConverter = globToRegexConverter;
     this.toExclude            = BuildRegexesFromGlobs(toExclude);
     this.toInclude            = BuildRegexesFromGlobs(toInclude);
 }