1 instantiation of StaticWebAssetGlobMatcher
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
57
return new
StaticWebAssetGlobMatcher
(includeRoot, excludeRoot);
41 references to StaticWebAssetGlobMatcher
Microsoft.NET.Sdk.StaticWebAssets.Tasks (41)
Compression\ResolveCompressedAssets.cs (2)
64
var
matcher = new StaticWebAssetGlobMatcherBuilder()
71
var matchContext =
StaticWebAssetGlobMatcher
.CreateMatchContext();
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)
123
var
matcher = builder.Build();
131
internal readonly struct AdditionalEndpointDefinition(string pattern, string replacement, string order,
StaticWebAssetGlobMatcher
matcher)
136
public
StaticWebAssetGlobMatcher
Matcher { get; } = matcher;
162
StaticWebAssetGlobMatcher
.MatchContext matchContext)
247
private void CreateAdditionalEndpoints(StaticWebAssetEndpoint sourceEndpoint,
StaticWebAssetGlobMatcher
.MatchContext matchContext)
301
private static (string mimeType, string cache) ResolveContentType(StaticWebAsset asset, ContentTypeProvider contentTypeProvider,
StaticWebAssetGlobMatcher
.MatchContext matchContext, TaskLoggingHelper log)
333
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)
64
StaticWebAssetGlobMatcher
frameworkMatcher = null;
77
var matchContext = hasFrameworkMatcher ?
StaticWebAssetGlobMatcher
.CreateMatchContext() : default;
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
45
public
StaticWebAssetGlobMatcher
Build()