2 instantiations of PatternMatchingResult
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
GlobbingUrlBuilderTest.cs (1)
542var patternMatchingResult = new PatternMatchingResult(Enumerable.Empty<FilePatternMatch>());
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\MatcherContext.cs (1)
65return new PatternMatchingResult(_files, _files.Count > 0);
17 references to PatternMatchingResult
Microsoft.AspNetCore.Mvc.TagHelpers (1)
GlobbingUrlBuilder.cs (1)
152var matches = matcher.Execute(_baseGlobbingDirectory);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
GlobbingUrlBuilderTest.cs (1)
542var patternMatchingResult = new PatternMatchingResult(Enumerable.Empty<FilePatternMatch>());
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LoadedProject.cs (1)
92var matches = matcher.Match(relativeDirectory, filePath);
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (1)
378PatternMatchingResult matchResult = wildCardEntry.Value.Matcher!.Match(path);
PollingWildCardChangeToken.cs (1)
117PatternMatchingResult result = _matcher.Execute(_directoryInfo);
Microsoft.Extensions.FileSystemGlobbing (12)
Internal\MatcherContext.cs (1)
59public PatternMatchingResult Execute()
Matcher.cs (2)
197/// <returns>Always returns instance of <see cref="PatternMatchingResult" />, even if no files were matched</returns> 198public virtual PatternMatchingResult Execute(DirectoryInfoBase directoryInfo)
MatcherExtensions.cs (5)
57PatternMatchingResult patternMatchingResult = matcher.Execute(new DirectoryInfoWrapper(new DirectoryInfo(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)
PatternMatchingResult.cs (4)
16/// Initializes a new instance of the <see cref="PatternMatchingResult" /> class with a collection of <see cref="FilePatternMatch" />. 26/// Initializes a new instance of the <see cref="PatternMatchingResult" /> class with a collection of <see cref="FilePatternMatch" />. 29/// <param name="hasMatches">A value that determines if <see cref="PatternMatchingResult"/> has any matches.</param> 44/// Gets a value that determines if this instance of <see cref="PatternMatchingResult"/> has any matches.