1 instantiation of MatchContext
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Utils\Globbing\StaticWebAssetGlobMatcher.cs (1)
558
public static MatchContext CreateMatchContext() =>
new
();
18 references to MatchContext
Microsoft.NET.Sdk.StaticWebAssets.Tasks (18)
Compression\ResolveCompressedAssets.cs (1)
71
var
matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
Data\ContentTypeProvider.cs (2)
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 (4)
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 (4)
120
var
matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
379
StaticWebAssetGlobMatcher.
MatchContext
matchContext)
632
StaticWebAssetGlobMatcher.
MatchContext
matchContext)
802
StaticWebAsset asset, List<GroupDefinition> definitions, StaticWebAssetGlobMatcher.
MatchContext
matchContext)
FingerprintPatternMatcher.cs (1)
40
public string AppendFingerprintPattern(StaticWebAssetGlobMatcher.
MatchContext
context, string identity)
GeneratePackageAssetsManifestFile.cs (2)
41
var
matchContext = hasFrameworkMatcher ? StaticWebAssetGlobMatcher.CreateMatchContext() : default;
108
StaticWebAssetGlobMatcher.
MatchContext
matchContext)
GenerateStaticWebAssetsPropsFile.cs (1)
77
var
matchContext = hasFrameworkMatcher ? StaticWebAssetGlobMatcher.CreateMatchContext() : default;
Utils\Globbing\StaticWebAssetGlobMatcher.cs (3)
15
var
context = CreateMatchContext();
20
public GlobMatch Match(
MatchContext
context)
558
public static
MatchContext
CreateMatchContext() => new();