8 instantiations of Matcher
Microsoft.AspNetCore.Components.WebView (2)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
95var matcher = new Matcher(_fsComparison); 221var matcher = new Matcher();
Microsoft.AspNetCore.Hosting (2)
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.CodeAnalysis.LanguageServer (1)
HostWorkspace\LoadedProject.cs (1)
226var matcher = new Matcher();
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (1)
215var matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
PollingWildCardChangeToken.cs (1)
58_matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
38 references to Matcher
Microsoft.AspNetCore.Components.WebView (2)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
95var matcher = new Matcher(_fsComparison); 221var matcher = new Matcher();
Microsoft.AspNetCore.Hosting (2)
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.AspNetCore.Mvc.TagHelpers.Test (4)
GlobbingUrlBuilderTest.cs (4)
367var matcher = MakeMatcher(includePatterns, excludePatterns); 395var matcher = MakeMatcher(includePatterns, excludePatterns); 527private static Matcher MakeMatcher(List<string> includePatterns, List<string> excludePatterns) 529var matcher = new Mock<Matcher>();
Microsoft.CodeAnalysis.LanguageServer (4)
HostWorkspace\LoadedProject.cs (4)
38private Lazy<ImmutableArray<Matcher>>? _mostRecentFileMatchers; 79foreach (var matcher in matchers) 222_mostRecentFileMatchers = new Lazy<ImmutableArray<Matcher>>(() => 226var matcher = new Matcher();
Microsoft.Extensions.FileProviders.Physical (6)
PhysicalFileProvider.cs (1)
343/// <para>Globbing patterns are interpreted by <seealso cref="Microsoft.Extensions.FileSystemGlobbing.Matcher" />.</para>
PhysicalFilesWatcher.cs (4)
125/// are interpreted by <see cref="Matcher" />. 215var matcher = new Matcher(StringComparison.OrdinalIgnoreCase); 514Matcher? matcher) 525public Matcher? Matcher { get; }
PollingWildCardChangeToken.cs (1)
26private readonly Matcher _matcher;
Microsoft.Extensions.FileSystemGlobbing (17)
Matcher.cs (5)
105/// Initializes an instance of <see cref="Matcher" /> using case-insensitive matching 113/// Initializes an instance of <see cref="Matcher" /> using the string comparison method specified 134public virtual Matcher AddInclude(string pattern) 152public virtual Matcher AddExclude(string pattern) 159/// Searches the directory specified for all files matching patterns added to this instance of <see cref="Matcher" />
MatcherExtensions.cs (12)
15/// Adds multiple exclude patterns to <see cref="Matcher" />. <seealso cref="Matcher.AddExclude(string)" /> 19public static void AddExcludePatterns(this Matcher matcher, params IEnumerable<string>[] excludePatternsGroups) 31/// Adds multiple patterns to include in <see cref="Matcher" />. See <seealso cref="Matcher.AddInclude(string)" /> 35public static void AddIncludePatterns(this Matcher matcher, params IEnumerable<string>[] includePatternsGroups) 47/// Searches the directory specified for all files matching patterns added to this instance of <see cref="Matcher" /> 52public static IEnumerable<string> GetResultsInFullPath(this Matcher matcher, string directoryPath) 75public static PatternMatchingResult Match(this Matcher matcher, string file) 87public static PatternMatchingResult Match(this Matcher matcher, string rootDir, string file) 98public static PatternMatchingResult Match(this Matcher matcher, IEnumerable<string>? files) 110public static PatternMatchingResult Match(this Matcher matcher, string rootDir, IEnumerable<string>? files)