11 writes to ResponseHeaders
Microsoft.NET.Sdk.StaticWebAssets.Tasks (11)
_generated\7\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpoint.g.cs (1)
139
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint)obj).
ResponseHeaders
= value!,
ApplyCompressionNegotiation.cs (4)
59
compressedEndpoint.
ResponseHeaders
= [
87
relatedEndpointCandidate.
ResponseHeaders
= [
142
endpoint.
ResponseHeaders
= [
286
endpointCopy.
ResponseHeaders
= [.. headers];
DefineStaticWebAssetEndpoints.cs (2)
233
ResponseHeaders
= headers
291
ResponseHeaders
= sourceEndpoint.ResponseHeaders.ToArray(),
UpdateStaticWebAssetEndpoints.cs (4)
135
endpoint.
ResponseHeaders
= headers;
230
endpoint.
ResponseHeaders
= headers;
293
endpoint.
ResponseHeaders
= headers;
327
endpoint.
ResponseHeaders
= [
49 references to ResponseHeaders
Microsoft.NET.Sdk.StaticWebAssets.Tasks (49)
_generated\7\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpoint.g.cs (2)
138
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint)obj).
ResponseHeaders
,
196
StaticWebAssetEndpointResponseHeaderArraySerializeHandler(writer, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint)value).
ResponseHeaders
);
ApplyCompressionNegotiation.cs (13)
60
..compressedEndpoint.
ResponseHeaders
,
88
..relatedEndpointCandidate.
ResponseHeaders
,
143
.. endpoint.
ResponseHeaders
,
165
for (var i = 0; i < endpoint.
ResponseHeaders
.Length; i++)
167
var header = endpoint.
ResponseHeaders
[i];
180
var result = new HashSet<string>(compressedEndpoint.
ResponseHeaders
.Length, StringComparer.Ordinal);
181
for (var i = 0; i < compressedEndpoint.
ResponseHeaders
.Length; i++)
183
var responseHeader = compressedEndpoint.
ResponseHeaders
[i];
257
foreach (var header in relatedEndpointCandidate.
ResponseHeaders
)
295
for (var i = 0; i < compressedEndpoint.
ResponseHeaders
.Length; i++)
297
var responseHeader = compressedEndpoint.
ResponseHeaders
[i];
371
foreach (var header in compressedEndpoint.
ResponseHeaders
)
389
foreach (var header in relatedEndpointCandidate.
ResponseHeaders
)
Data\StaticWebAssetEndpoint.cs (23)
120
_responseHeadersString ??= _originalItem?.GetMetadata(nameof(
ResponseHeaders
));
261
ResponseHeaders
.SequenceEqual(other.
ResponseHeaders
) &&
291
for (var i = 0; i <
ResponseHeaders
.Length; i++)
293
hashCode.Add(
ResponseHeaders
[i]);
304
$"{nameof(StaticWebAssetEndpoint)}: Route = {Route}, AssetFile = {AssetFile}, Selectors = {StaticWebAssetEndpointSelector.ToMetadataValue(Selectors ?? [])}, ResponseHeaders = {
ResponseHeaders
?.Length}, EndpointProperties = {StaticWebAssetEndpointProperty.ToMetadataValue(EndpointProperties ?? [])}";
368
if (
ResponseHeaders
.Length > other.
ResponseHeaders
.Length)
372
else if (
ResponseHeaders
.Length < other.
ResponseHeaders
.Length)
377
for (var i = 0; i <
ResponseHeaders
.Length; i++)
379
var responseHeaderComparison =
ResponseHeaders
[i].Name.CompareTo(other.
ResponseHeaders
[i].Name);
385
responseHeaderComparison =
ResponseHeaders
[i].Value.CompareTo(other.
ResponseHeaders
[i].Value);
452
nameof(
ResponseHeaders
),
486
nameof(
ResponseHeaders
) => !_responseHeadersModified ? ResponseHeadersString ?? "" : StaticWebAssetEndpointResponseHeader.ToMetadataValue(
ResponseHeaders
),
508
case nameof(
ResponseHeaders
):
533
{ nameof(
ResponseHeaders
), !_responseHeadersModified ? ResponseHeadersString ?? "" : StaticWebAssetEndpointResponseHeader.ToMetadataValue(
ResponseHeaders
) },
559
destinationItem.SetMetadata(nameof(
ResponseHeaders
), !_responseHeadersModified ? ResponseHeadersString ?? "" : StaticWebAssetEndpointResponseHeader.ToMetadataValue(
ResponseHeaders
));
DefineStaticWebAssetEndpoints.cs (1)
291
ResponseHeaders = sourceEndpoint.
ResponseHeaders
.ToArray(),
FilterStaticWebAssetEndpoints.cs (2)
119
for (var j = 0; j < endpoint.
ResponseHeaders
.Length; j++)
121
var header = endpoint.
ResponseHeaders
[j];
GenerateStaticWebAssetEndpointsManifest.cs (2)
144
for (var i = 0; i < endpoint.
ResponseHeaders
.Length; i++)
146
ref var header = ref endpoint.
ResponseHeaders
[i];
GenerateStaticWebAssetEndpointsPropsFile.cs (2)
59
new XElement(nameof(StaticWebAssetEndpoint.
ResponseHeaders
), new XCData(StaticWebAssetEndpointResponseHeader.ToMetadataValue(element.
ResponseHeaders
)))));
UpdateStaticWebAssetEndpoints.cs (4)
132
var (headers, headerRemoved) = RemoveAllIfFound(endpoint.
ResponseHeaders
, h => h.Name, h => h.Value, operation.Name, operation.Value);
221
endpoint.
ResponseHeaders
,
290
var (headers, headerRemoved) = RemoveFirstIfFound(endpoint.
ResponseHeaders
, h => h.Name, h => h.Value, operation.Name, operation.Value);
328
..endpoint.
ResponseHeaders
,