1 instantiation of StaticWebAssetGlobMatcher
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
57return new StaticWebAssetGlobMatcher(includeRoot, excludeRoot);
41 references to StaticWebAssetGlobMatcher
Microsoft.NET.Sdk.StaticWebAssets.Tasks (41)
Compression\ResolveCompressedAssets.cs (2)
64var matcher = new StaticWebAssetGlobMatcherBuilder() 71var matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
Data\ContentTypeProvider.cs (3)
403private readonly StaticWebAssetGlobMatcher _matcher; 424internal ContentTypeMapping ResolveContentTypeMapping(StaticWebAssetGlobMatcher.MatchContext context, TaskLoggingHelper log) 454private bool TryGetMapping(StaticWebAssetGlobMatcher.MatchContext context, TaskLoggingHelper log, ReadOnlySpan<char> relativePath, out ContentTypeMapping mapping)
DefineStaticWebAssetEndpoints.cs (7)
123var matcher = builder.Build(); 131internal readonly struct AdditionalEndpointDefinition(string pattern, string replacement, string order, StaticWebAssetGlobMatcher matcher) 136public StaticWebAssetGlobMatcher Matcher { get; } = matcher; 162StaticWebAssetGlobMatcher.MatchContext matchContext) 247private void CreateAdditionalEndpoints(StaticWebAssetEndpoint sourceEndpoint, StaticWebAssetGlobMatcher.MatchContext matchContext) 301private static (string mimeType, string cache) ResolveContentType(StaticWebAsset asset, ContentTypeProvider contentTypeProvider, StaticWebAssetGlobMatcher.MatchContext matchContext, TaskLoggingHelper log) 333var matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
DefineStaticWebAssets.cs (16)
110var matcher = !string.IsNullOrEmpty(RelativePathPattern) ? 114var filter = !string.IsNullOrEmpty(RelativePathFilter) ? 120var matchContext = StaticWebAssetGlobMatcher.CreateMatchContext(); 378StaticWebAssetGlobMatcher matcher, 379StaticWebAssetGlobMatcher.MatchContext matchContext) 632StaticWebAssetGlobMatcher.MatchContext matchContext) 679StaticWebAssetGlobMatcher includeMatcher, 680StaticWebAssetGlobMatcher excludeMatcher, 681StaticWebAssetGlobMatcher relativePathMatcher, 700public StaticWebAssetGlobMatcher IncludeMatcher { get; } 701public StaticWebAssetGlobMatcher ExcludeMatcher { get; } 702public StaticWebAssetGlobMatcher RelativePathMatcher { get; } 746var includeMatcher = new StaticWebAssetGlobMatcherBuilder() 750StaticWebAssetGlobMatcher excludeMatcher = null; 758StaticWebAssetGlobMatcher relativePathMatcher = null; 802StaticWebAsset asset, List<GroupDefinition> definitions, StaticWebAssetGlobMatcher.MatchContext matchContext)
FingerprintPatternMatcher.cs (4)
17private readonly StaticWebAssetGlobMatcher _matcher; 40public string AppendFingerprintPattern(StaticWebAssetGlobMatcher.MatchContext context, string identity) 170StaticWebAssetGlobMatcher _matcher; 177public StaticWebAssetGlobMatcher Matcher => _matcher ??= new StaticWebAssetGlobMatcherBuilder().AddIncludePatterns(Pattern).Build();
GeneratePackageAssetsManifestFile.cs (5)
39var frameworkMatcher = CreateFrameworkMatcher(); 41var matchContext = hasFrameworkMatcher ? StaticWebAssetGlobMatcher.CreateMatchContext() : default; 73private StaticWebAssetGlobMatcher CreateFrameworkMatcher() 107StaticWebAssetGlobMatcher frameworkMatcher, 108StaticWebAssetGlobMatcher.MatchContext matchContext)
GenerateStaticWebAssetEndpointsManifest.cs (1)
71StaticWebAssetGlobMatcher exclusionMatcher = null;
GenerateStaticWebAssetsPropsFile.cs (2)
64StaticWebAssetGlobMatcher frameworkMatcher = null; 77var matchContext = hasFrameworkMatcher ? StaticWebAssetGlobMatcher.CreateMatchContext() : default;
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
45public StaticWebAssetGlobMatcher Build()