12 writes to ContentTypeMappings
Microsoft.NET.Sdk.StaticWebAssets.Tests (12)
StaticWebAssets\ApplyCompressionNegotiationTest.cs (1)
169
ContentTypeMappings
= []
StaticWebAssets\DefineStaticWebAssetEndpointsTest.cs (7)
45
ContentTypeMappings
= [CreateContentMapping("**/*.js", "text/javascript")],
113
ContentTypeMappings
= [CreateContentMapping("**/*.js", "text/javascript")],
230
ContentTypeMappings
= [CreateContentMapping("**/*.js", "text/javascript")],
368
ContentTypeMappings
= [CreateContentMapping("**/*.js", "text/javascript")],
419
ContentTypeMappings
= [],
472
ContentTypeMappings
= [],
524
ContentTypeMappings
= [CreateContentMapping("**/*.css", "text/css")],
StaticWebAssets\FilterStaticWebAssetEndpointsTest.cs (1)
248
ContentTypeMappings
=
StaticWebAssets\GenerateStaticWebAssetEndpointsManifestTest.cs (1)
440
ContentTypeMappings
= []
StaticWebAssets\ResolveFingerprintedStaticWebAssetEndpointsForAssetsTest.cs (1)
274
ContentTypeMappings
=
StaticWebAssets\UpdateStaticWebAssetEndpointsTest.cs (1)
312
ContentTypeMappings
=
5 references to ContentTypeMappings
Microsoft.NET.Sdk.StaticWebAssets.Tasks (5)
DefineStaticWebAssetEndpoints.cs (5)
51
if (
ContentTypeMappings
== null ||
ContentTypeMappings
.Length == 0)
55
var result = new ContentTypeMapping[
ContentTypeMappings
.Length];
56
for (var i = 0; i <
ContentTypeMappings
.Length; i++)
58
var contentTypeMapping =
ContentTypeMappings
[i];