1 instantiation of StaticWebAssetGlobMatcher
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
57
return new
StaticWebAssetGlobMatcher
(includeRoot, excludeRoot);
46 references to StaticWebAssetGlobMatcher
Microsoft.NET.Sdk.StaticWebAssets.Tasks (46)
Compression\ResolveCompressedAssets.cs (2)
68
var
matcher = new StaticWebAssetGlobMatcherBuilder()
75
var matchContext =
StaticWebAssetGlobMatcher
.CreateMatchContext();
ComputeReferenceStaticWebAssetItems.cs (5)
57
var
frameworkMatcher = CreateFrameworkMatcher();
58
var matchContext = frameworkMatcher != null ?
StaticWebAssetGlobMatcher
.CreateMatchContext() : default;
143
private
StaticWebAssetGlobMatcher
CreateFrameworkMatcher()
168
StaticWebAssetGlobMatcher
matcher,
169
ref
StaticWebAssetGlobMatcher
.MatchContext matchContext)
Data\ContentTypeProvider.cs (3)
403
private readonly
StaticWebAssetGlobMatcher
_matcher;
424
internal ContentTypeMapping ResolveContentTypeMapping(
StaticWebAssetGlobMatcher
.MatchContext context, TaskLoggingHelper log)
454
private bool TryGetMapping(
StaticWebAssetGlobMatcher
.MatchContext context, TaskLoggingHelper log, ReadOnlySpan<char> relativePath, out ContentTypeMapping mapping)
DefineStaticWebAssetEndpoints.cs (7)
128
var
matcher = builder.Build();
136
internal readonly struct AdditionalEndpointDefinition(string pattern, string replacement, string order,
StaticWebAssetGlobMatcher
matcher)
141
public
StaticWebAssetGlobMatcher
Matcher { get; } = matcher;
169
StaticWebAssetGlobMatcher
.MatchContext matchContext)
254
private void CreateAdditionalEndpoints(StaticWebAssetEndpoint sourceEndpoint,
StaticWebAssetGlobMatcher
.MatchContext matchContext)
308
private static (string mimeType, string cache) ResolveContentType(StaticWebAsset asset, ContentTypeProvider contentTypeProvider,
StaticWebAssetGlobMatcher
.MatchContext matchContext, TaskLoggingHelper log)
340
var matchContext =
StaticWebAssetGlobMatcher
.CreateMatchContext();
DefineStaticWebAssets.cs (16)
114
var
matcher = !string.IsNullOrEmpty(RelativePathPattern) ?
118
var
filter = !string.IsNullOrEmpty(RelativePathFilter) ?
124
var matchContext =
StaticWebAssetGlobMatcher
.CreateMatchContext();
383
StaticWebAssetGlobMatcher
matcher,
384
StaticWebAssetGlobMatcher
.MatchContext matchContext)
637
StaticWebAssetGlobMatcher
.MatchContext matchContext)
684
StaticWebAssetGlobMatcher
includeMatcher,
685
StaticWebAssetGlobMatcher
excludeMatcher,
686
StaticWebAssetGlobMatcher
relativePathMatcher,
705
public
StaticWebAssetGlobMatcher
IncludeMatcher { get; }
706
public
StaticWebAssetGlobMatcher
ExcludeMatcher { get; }
707
public
StaticWebAssetGlobMatcher
RelativePathMatcher { get; }
751
var
includeMatcher = new StaticWebAssetGlobMatcherBuilder()
755
StaticWebAssetGlobMatcher
excludeMatcher = null;
763
StaticWebAssetGlobMatcher
relativePathMatcher = null;
807
StaticWebAsset asset, List<GroupDefinition> definitions,
StaticWebAssetGlobMatcher
.MatchContext matchContext)
FingerprintPatternMatcher.cs (4)
17
private readonly
StaticWebAssetGlobMatcher
_matcher;
40
public string AppendFingerprintPattern(
StaticWebAssetGlobMatcher
.MatchContext context, string identity)
170
StaticWebAssetGlobMatcher
_matcher;
177
public
StaticWebAssetGlobMatcher
Matcher => _matcher ??= new StaticWebAssetGlobMatcherBuilder().AddIncludePatterns(Pattern).Build();
GeneratePackageAssetsManifestFile.cs (5)
39
var
frameworkMatcher = CreateFrameworkMatcher();
41
var matchContext = hasFrameworkMatcher ?
StaticWebAssetGlobMatcher
.CreateMatchContext() : default;
73
private
StaticWebAssetGlobMatcher
CreateFrameworkMatcher()
107
StaticWebAssetGlobMatcher
frameworkMatcher,
108
StaticWebAssetGlobMatcher
.MatchContext matchContext)
GenerateStaticWebAssetEndpointsManifest.cs (1)
79
StaticWebAssetGlobMatcher
exclusionMatcher = null;
GenerateStaticWebAssetsPropsFile.cs (2)
68
StaticWebAssetGlobMatcher
frameworkMatcher = null;
81
var matchContext = hasFrameworkMatcher ?
StaticWebAssetGlobMatcher
.CreateMatchContext() : default;
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
45
public
StaticWebAssetGlobMatcher
Build()