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)
272var matcher = new Matcher();
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (1)
207var matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
PollingWildCardChangeToken.cs (1)
60_matcher = new Matcher(StringComparison.OrdinalIgnoreCase);
40 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)
39private Lazy<ImmutableArray<Matcher>>? _mostRecentFileMatchers; 85foreach (var matcher in matchers) 268_mostRecentFileMatchers = new Lazy<ImmutableArray<Matcher>>(() => 272var matcher = new Matcher();
Microsoft.Extensions.FileProviders.Physical (6)
PhysicalFileProvider.cs (1)
343/// <para>Globbing patterns are interpreted by <see cref="Microsoft.Extensions.FileSystemGlobbing.Matcher" />.</para>
PhysicalFilesWatcher.cs (4)
125/// are interpreted by <see cref="Matcher" />. 207var matcher = new Matcher(StringComparison.OrdinalIgnoreCase); 506Matcher? matcher) 517public 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)