11 writes to ResponseHeaders
Microsoft.NET.Sdk.StaticWebAssets.Tasks (11)
_generated\7\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpoint.g.cs (1)
141
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint)obj).
ResponseHeaders
= value!,
ApplyCompressionNegotiation.cs (4)
63
compressedEndpoint.
ResponseHeaders
= [
91
relatedEndpointCandidate.
ResponseHeaders
= [
146
endpoint.
ResponseHeaders
= [
290
endpointCopy.
ResponseHeaders
= [.. headers];
DefineStaticWebAssetEndpoints.cs (2)
240
ResponseHeaders
= headers
298
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)
140
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint)obj).
ResponseHeaders
,
198
StaticWebAssetEndpointResponseHeaderArraySerializeHandler(writer, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint)value).
ResponseHeaders
);
ApplyCompressionNegotiation.cs (13)
64
..compressedEndpoint.
ResponseHeaders
,
92
..relatedEndpointCandidate.
ResponseHeaders
,
147
.. endpoint.
ResponseHeaders
,
169
for (var i = 0; i < endpoint.
ResponseHeaders
.Length; i++)
171
var header = endpoint.
ResponseHeaders
[i];
184
var result = new HashSet<string>(compressedEndpoint.
ResponseHeaders
.Length, StringComparer.Ordinal);
185
for (var i = 0; i < compressedEndpoint.
ResponseHeaders
.Length; i++)
187
var responseHeader = compressedEndpoint.
ResponseHeaders
[i];
261
foreach (var header in relatedEndpointCandidate.
ResponseHeaders
)
299
for (var i = 0; i < compressedEndpoint.
ResponseHeaders
.Length; i++)
301
var responseHeader = compressedEndpoint.
ResponseHeaders
[i];
375
foreach (var header in compressedEndpoint.
ResponseHeaders
)
393
foreach (var header in relatedEndpointCandidate.
ResponseHeaders
)
Data\StaticWebAssetEndpoint.cs (23)
121
_responseHeadersString ??= _originalItem?.GetMetadata(nameof(
ResponseHeaders
));
262
ResponseHeaders
.SequenceEqual(other.
ResponseHeaders
) &&
292
for (var i = 0; i <
ResponseHeaders
.Length; i++)
294
hashCode.Add(
ResponseHeaders
[i]);
305
$"{nameof(StaticWebAssetEndpoint)}: Route = {Route}, AssetFile = {AssetFile}, Selectors = {StaticWebAssetEndpointSelector.ToMetadataValue(Selectors ?? [])}, ResponseHeaders = {
ResponseHeaders
?.Length}, EndpointProperties = {StaticWebAssetEndpointProperty.ToMetadataValue(EndpointProperties ?? [])}";
369
if (
ResponseHeaders
.Length > other.
ResponseHeaders
.Length)
373
else if (
ResponseHeaders
.Length < other.
ResponseHeaders
.Length)
378
for (var i = 0; i <
ResponseHeaders
.Length; i++)
380
var responseHeaderComparison =
ResponseHeaders
[i].Name.CompareTo(other.
ResponseHeaders
[i].Name);
386
responseHeaderComparison =
ResponseHeaders
[i].Value.CompareTo(other.
ResponseHeaders
[i].Value);
453
nameof(
ResponseHeaders
),
487
nameof(
ResponseHeaders
) => !_responseHeadersModified ? ResponseHeadersString ?? "" : StaticWebAssetEndpointResponseHeader.ToMetadataValue(
ResponseHeaders
),
509
case nameof(
ResponseHeaders
):
534
{ nameof(
ResponseHeaders
), !_responseHeadersModified ? ResponseHeadersString ?? "" : StaticWebAssetEndpointResponseHeader.ToMetadataValue(
ResponseHeaders
) },
560
destinationItem.SetMetadata(nameof(
ResponseHeaders
), !_responseHeadersModified ? ResponseHeadersString ?? "" : StaticWebAssetEndpointResponseHeader.ToMetadataValue(
ResponseHeaders
));
DefineStaticWebAssetEndpoints.cs (1)
298
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)
62
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
,