2 instantiations of MatchContext
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Utils\Globbing\StaticWebAssetGlobMatcher.cs (1)
520
public static MatchContext CreateMatchContext() =>
new
();
Microsoft.NET.Sdk.StaticWebAssets.Tests (1)
StaticWebAssets\FingerprintPatternMatcherTest.cs (1)
85
var context = new StaticWebAssetGlobMatcher.
MatchContext
();
16 references to MatchContext
Microsoft.NET.Sdk.StaticWebAssets.Tasks (12)
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 (3)
123
StaticWebAssetGlobMatcher.
MatchContext
matchContext)
202
private static (string mimeType, string cache) ResolveContentType(StaticWebAsset asset, ContentTypeProvider contentTypeProvider, StaticWebAssetGlobMatcher.
MatchContext
matchContext, TaskLoggingHelper log)
234
var
matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
DefineStaticWebAssets.cs (2)
104
var
matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
326
StaticWebAssetGlobMatcher.
MatchContext
matchContext)
FingerprintPatternMatcher.cs (1)
40
public string AppendFingerprintPattern(StaticWebAssetGlobMatcher.
MatchContext
context, string identity)
Utils\Globbing\StaticWebAssetGlobMatcher.cs (3)
15
var
context = CreateMatchContext();
20
public GlobMatch Match(
MatchContext
context)
520
public static
MatchContext
CreateMatchContext() => new();
Microsoft.NET.Sdk.StaticWebAssets.Tests (4)
StaticWebAssets\ContentTypeProviderTests.cs (2)
41
private StaticWebAssetGlobMatcher.
MatchContext
CreateContext(string v)
43
var
ctx = StaticWebAssetGlobMatcher.CreateMatchContext();
StaticWebAssets\FingerprintPatternMatcherTest.cs (2)
83
private StaticWebAssetGlobMatcher.
MatchContext
CreateMatchContext(string path)
85
var
context = new StaticWebAssetGlobMatcher.MatchContext();