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)
64
var
matcher = new StaticWebAssetGlobMatcherBuilder()
71
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)
110
var
matcher = !string.IsNullOrEmpty(RelativePathPattern) ?
114
var
filter = !string.IsNullOrEmpty(RelativePathFilter) ?
120
var matchContext =
StaticWebAssetGlobMatcher
.CreateMatchContext();
378
StaticWebAssetGlobMatcher
matcher,
379
StaticWebAssetGlobMatcher
.MatchContext matchContext)
632
StaticWebAssetGlobMatcher
.MatchContext matchContext)
679
StaticWebAssetGlobMatcher
includeMatcher,
680
StaticWebAssetGlobMatcher
excludeMatcher,
681
StaticWebAssetGlobMatcher
relativePathMatcher,
700
public
StaticWebAssetGlobMatcher
IncludeMatcher { get; }
701
public
StaticWebAssetGlobMatcher
ExcludeMatcher { get; }
702
public
StaticWebAssetGlobMatcher
RelativePathMatcher { get; }
746
var
includeMatcher = new StaticWebAssetGlobMatcherBuilder()
750
StaticWebAssetGlobMatcher
excludeMatcher = null;
758
StaticWebAssetGlobMatcher
relativePathMatcher = null;
802
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)
71
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()