53 writes to Value
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (3)
StaticWebAssetsBaselineFactory.cs (3)
156property.Value = "__fingerprint__"; 160property.Value = "__integrity__"; 163property.Value = "__original-resource__";
Microsoft.NET.Sdk.StaticWebAssets.Tasks (7)
ApplyCompressionNegotiation.cs (1)
265Value = header.Value
ComputeEndpointsForReferenceStaticWebAssets.cs (1)
51property.Value = StaticWebAsset.CombineNormalizedPaths("", asset.BasePath, property.Value, '/');
DefineStaticWebAssetEndpoints.cs (3)
171properties[i++] = new StaticWebAssetEndpointProperty { Name = value.Key, Value = value.Value }; 180properties[i++] = new StaticWebAssetEndpointProperty { Name = "label", Value = label }; 185properties[i++] = new StaticWebAssetEndpointProperty { Name = "integrity", Value = $"sha256-{asset.Integrity}" };
UpdateStaticWebAssetEndpoints.cs (2)
239(name, value) => new StaticWebAssetEndpointProperty { Name = name, Value = value }, 341Value = operation.Value
Microsoft.NET.Sdk.StaticWebAssets.Tests (43)
StaticWebAssets\ApplyCompressionNegotiationTest.cs (20)
241Value = "fingerprint" 246Value = "sha256-original" 251Value = "candidate.js" 307Value = "fingerprint" 312Value = "sha256-original" 317Value = "candidate.js" 360Value = "fingerprint" 365Value = "sha256-original" 370Value = "candidate.js" 418Value = "fingerprint" 423Value = "sha256-compressed-brotli" 428Value = "candidate.js.br" 476Value = "fingerprint" 481Value = "sha256-compressed-gzip" 486Value = "candidate.js.gz" 542Value = "sha256-original" 598Value = "sha256-original" 641Value = "sha256-original" 689Value = "sha256-compressed-brotli" 729Value = "sha256-compressed-gzip"
StaticWebAssets\ComputeEndpointsForReferenceStaticWebAssetsTest.cs (1)
142? [new StaticWebAssetEndpointProperty { Name = "label", Value = "label-value" }]
StaticWebAssets\DefineStaticWebAssetEndpointsTest.cs (9)
131Value = "1234asdf" 136Value = "sha256-asdf1234" 141Value = "candidate.js" 248Value = "yolo" 253Value = "sha256-asdf1234" 258Value = "candidate.js" 542Value = "C5tBAdQX" 547Value = "sha256-asdf1234" 552Value = "assets/index-.css"
StaticWebAssets\GenerateStaticWebAssetEndpointsManifestTest.cs (8)
52Value = "fingerprint" 56Value = "sha256-integrity" 60Value = "index.html" 95Value = "fingerprint" 99Value = "sha256-integrity" 103Value = "index.js" 137Value = "sha256-integrity" 170Value = "sha256-integrity"
StaticWebAssets\GenerateStaticWebAssetEndpointsPropsFileTest.cs (2)
77Value = "__integrity__" 147Value = "__integrity__"
StaticWebAssetsBaselineFactory.cs (3)
156property.Value = "__fingerprint__"; 160property.Value = "__integrity__"; 163property.Value = "__original-resource__";
33 references to Value
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (3)
StaticWebAssetsBaselineComparer.cs (2)
142Array.Sort(endpoint.EndpointProperties, (a, b) => (a.Name, a.Value).CompareTo((b.Name, b.Value)));
StaticWebAssetsBaselineFactory.cs (1)
157endpoint.Route = endpoint.Route.Replace(property.Value, $"__{property.Name}__");
Microsoft.NET.Sdk.StaticWebAssets.Tasks (23)
ApplyCompressionNegotiation.cs (2)
353return string.Equals(compressedFingerprint.Value, relatedFingerprint.Value, StringComparison.Ordinal);
ComputeEndpointsForReferenceStaticWebAssets.cs (1)
51property.Value = StaticWebAsset.CombineNormalizedPaths("", asset.BasePath, property.Value, '/');
Data\StaticWebAssetEndpoint.cs (2)
335propertyComparison = EndpointProperties[i].Value.CompareTo(other.EndpointProperties[i].Value);
Data\StaticWebAssetEndpointProperty.cs (6)
310 => string.CompareOrdinal(Value, other.Value), 40string.Equals(Value, other.Value, StringComparison.Ordinal); 50return HashCode.Combine(Name, Value); 54private string GetDebuggerDisplay() => $"Name: {Name}, Value: {Value}";
FilterStaticWebAssetEndpoints.cs (1)
88if (MeetsCriteria(criteria, property.Name, property.Value))
OverrideHtmlAssetPlaceholders.cs (8)
183resourceAsset.Label = property.Value; 187resourceAsset.Integrity = property.Value; 191resourceAsset.PreloadGroup = property.Value; 195resourceAsset.PreloadRel = property.Value; 199resourceAsset.PreloadAs = property.Value; 203resourceAsset.PreloadPriority = property.Value; 207resourceAsset.PreloadCrossorigin = property.Value; 211if (!int.TryParse(property.Value, out int order))
UpdateStaticWebAssetEndpoints.cs (3)
140var (properties, propertyRemoved) = RemoveAllIfFound(endpoint.EndpointProperties, p => p.Name, p => p.Value, operation.Name, operation.Value); 238p => p.Value, 298var (properties, propertyRemoved) = RemoveFirstIfFound(endpoint.EndpointProperties, p => p.Name, p => p.Value, operation.Name, operation.Value);
Microsoft.NET.Sdk.StaticWebAssets.Tests (7)
StaticWebAssetEndpointsIntegrationTest.cs (2)
114} && fingerprint == ep.EndpointProperties.Single(p => p.Name == "fingerprint").Value; 159} && fingerprint == ep.EndpointProperties.Single(p => p.Name == "fingerprint").Value;
StaticWebAssets\ApplyCompressionNegotiationTest.cs (1)
1629compressedEndpoint.EndpointProperties.Should().Contain(p => p.Name == "original-resource" && p.Value == "\"original-etag\"");
StaticWebAssets\ComputeEndpointsForReferenceStaticWebAssetsTest.cs (1)
66properties[0].Value.Should().Be("base/label-value");
StaticWebAssetsBaselineComparer.cs (2)
142Array.Sort(endpoint.EndpointProperties, (a, b) => (a.Name, a.Value).CompareTo((b.Name, b.Value)));
StaticWebAssetsBaselineFactory.cs (1)
157endpoint.Route = endpoint.Route.Replace(property.Value, $"__{property.Name}__");