11 instantiations of Matcher
dotnet (1)
Commands\Test\MTP\TestModulesFilterHandler.cs (1)
86Matcher matcher = new();
dotnet-format (2)
Utilities\SourceFileMatcher.cs (2)
16private readonly Matcher _matcher = new Matcher(StringComparison.OrdinalIgnoreCase); 31_matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Hosting (2)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
95var matcher = new Matcher(_fsComparison); 221var matcher = new Matcher();
Microsoft.AspNetCore.Mvc.TagHelpers (1)
GlobbingUrlBuilder.cs (1)
127var matcher = MatcherBuilder != null ? MatcherBuilder() : new Matcher();
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (1)
249var matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
PollingWildCardChangeToken.cs (1)
60_matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
NuGet.Commands (1)
RestoreCommand\ContentFiles\ContentFileUtils.cs (1)
110var matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
vstest.console (1)
Internal\FilePatternParser.cs (1)
34: this(new Matcher(), new FileHelper())
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Internal\FilePatternParser.cs (1)
34: this(new Matcher(), new FileHelper())
37 references to Matcher
dotnet (1)
Commands\Test\MTP\TestModulesFilterHandler.cs (1)
86Matcher matcher = new();
dotnet-format (1)
Utilities\SourceFileMatcher.cs (1)
16private readonly Matcher _matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Hosting (2)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
95var matcher = new Matcher(_fsComparison); 221var matcher = new Matcher();
Microsoft.AspNetCore.Mvc.TagHelpers (3)
GlobbingUrlBuilder.cs (3)
60internal Func<Matcher> MatcherBuilder { get; set; } 127var matcher = MatcherBuilder != null ? MatcherBuilder() : new Matcher(); 150private (List<string> matchedUrls, long sizeInBytes) FindFiles(Matcher matcher)
Microsoft.Extensions.FileProviders.Physical (6)
PhysicalFileProvider.cs (1)
337/// <para>Globbing patterns are interpreted by <see cref="Microsoft.Extensions.FileSystemGlobbing.Matcher" />.</para>
PhysicalFilesWatcher.cs (4)
160/// are interpreted by <see cref="Matcher" />. 249var matcher = new Matcher(StringComparison.OrdinalIgnoreCase); 801Matcher? matcher) 812public Matcher? Matcher { get; }
PollingWildCardChangeToken.cs (1)
26private readonly Matcher _matcher;
Microsoft.Extensions.FileSystemGlobbing (19)
Matcher.cs (6)
108/// Initializes a new instance of the <see cref="Matcher" /> class using case-insensitive matching. 116/// Initializes a new instance of the <see cref="Matcher" /> class using the string comparison method specified. 125/// Initializes a new instance of the <see cref="Matcher" /> class using the string comparison method and filter ordering specified. 161public virtual Matcher AddInclude(string pattern) 183public virtual Matcher AddExclude(string pattern) 194/// Searches the directory specified for all files matching patterns added to this instance of <see cref="Matcher" />
MatcherExtensions.cs (13)
13/// Provides extensions for configuring and executing a <see cref="Matcher" />. 18/// Adds multiple exclude patterns to <see cref="Matcher" />. <seealso cref="Matcher.AddExclude(string)" /> 22public static void AddExcludePatterns(this Matcher matcher, params IEnumerable<string>[] excludePatternsGroups) 34/// Adds multiple patterns to include in <see cref="Matcher" />. See <seealso cref="Matcher.AddInclude(string)" /> 38public static void AddIncludePatterns(this Matcher matcher, params IEnumerable<string>[] includePatternsGroups) 50/// Searches the directory specified for all files matching patterns added to this instance of <see cref="Matcher" /> 55public static IEnumerable<string> GetResultsInFullPath(this Matcher matcher, string directoryPath) 78public static PatternMatchingResult Match(this Matcher matcher, string file) 90public static PatternMatchingResult Match(this Matcher matcher, string rootDir, string file) 101public static PatternMatchingResult Match(this Matcher matcher, IEnumerable<string>? files) 113public static PatternMatchingResult Match(this Matcher matcher, string rootDir, IEnumerable<string>? files)
NuGet.Commands (1)
RestoreCommand\ContentFiles\ContentFileUtils.cs (1)
110var matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
vstest.console (2)
Internal\FilePatternParser.cs (2)
29private readonly Matcher _matcher; 38internal FilePatternParser(Matcher matcher, IFileHelper fileHelper)
vstest.console.arm64 (2)
src\vstest\src\vstest.console\Internal\FilePatternParser.cs (2)
29private readonly Matcher _matcher; 38internal FilePatternParser(Matcher matcher, IFileHelper fileHelper)