2 instantiations of MatchContext
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Utils\Globbing\StaticWebAssetGlobMatcher.cs (1)
520public static MatchContext CreateMatchContext() => new();
Microsoft.NET.Sdk.StaticWebAssets.Tests (1)
StaticWebAssets\FingerprintPatternMatcherTest.cs (1)
85var context = new StaticWebAssetGlobMatcher.MatchContext();
16 references to MatchContext
Microsoft.NET.Sdk.StaticWebAssets.Tasks (12)
Compression\ResolveCompressedAssets.cs (1)
71var matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
Data\ContentTypeProvider.cs (2)
424internal ContentTypeMapping ResolveContentTypeMapping(StaticWebAssetGlobMatcher.MatchContext context, TaskLoggingHelper log) 454private bool TryGetMapping(StaticWebAssetGlobMatcher.MatchContext context, TaskLoggingHelper log, ReadOnlySpan<char> relativePath, out ContentTypeMapping mapping)
DefineStaticWebAssetEndpoints.cs (3)
123StaticWebAssetGlobMatcher.MatchContext matchContext) 202private static (string mimeType, string cache) ResolveContentType(StaticWebAsset asset, ContentTypeProvider contentTypeProvider, StaticWebAssetGlobMatcher.MatchContext matchContext, TaskLoggingHelper log) 234var matchContext = StaticWebAssetGlobMatcher.CreateMatchContext();
DefineStaticWebAssets.cs (2)
104var matchContext = StaticWebAssetGlobMatcher.CreateMatchContext(); 326StaticWebAssetGlobMatcher.MatchContext matchContext)
FingerprintPatternMatcher.cs (1)
40public string AppendFingerprintPattern(StaticWebAssetGlobMatcher.MatchContext context, string identity)
Utils\Globbing\StaticWebAssetGlobMatcher.cs (3)
15var context = CreateMatchContext(); 20public GlobMatch Match(MatchContext context) 520public static MatchContext CreateMatchContext() => new();
Microsoft.NET.Sdk.StaticWebAssets.Tests (4)
StaticWebAssets\ContentTypeProviderTests.cs (2)
41private StaticWebAssetGlobMatcher.MatchContext CreateContext(string v) 43var ctx = StaticWebAssetGlobMatcher.CreateMatchContext();
StaticWebAssets\FingerprintPatternMatcherTest.cs (2)
83private StaticWebAssetGlobMatcher.MatchContext CreateMatchContext(string path) 85var context = new StaticWebAssetGlobMatcher.MatchContext();