15 writes to Value
Microsoft.NET.Sdk.StaticWebAssets.Tasks (15)
_generated\11\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointResponseHeader.g.cs (1)
79
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader>(obj).
Value
= value!,
ApplyCompressionNegotiation.cs (5)
92
Value
= "Accept-Encoding"
147
Value
= "Accept-Encoding"
227
Value
= compressedAsset.AssetTraitValue
232
Value
= "Accept-Encoding"
411
Value
= $"W/{header.Value}"
DefineStaticWebAssetEndpoints.cs (6)
172
Value
= length,
177
Value
= mimeType,
182
Value
= $"\"{asset.Integrity}\"",
187
Value
= lastModified,
196
headers[4] = new() { Name = "Cache-Control",
Value
= "max-age=31536000, immutable" };
203
headers[4] = new() { Name = "Cache-Control",
Value
= !string.IsNullOrEmpty(cacheSetting) ? cacheSetting : "no-cache" };
GenerateStaticWebAssetEndpointsManifest.cs (1)
157
header.
Value
= string.Join(",", headerValues);
UpdateStaticWebAssetEndpoints.cs (2)
224
(name, value) => new StaticWebAssetEndpointResponseHeader { Name = name,
Value
= value },
332
Value
= operation.Value
19 references to Value
Microsoft.NET.Sdk.StaticWebAssets.Tasks (19)
_generated\11\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointResponseHeader.g.cs (2)
78
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader)obj).
Value
,
101
writer.WriteString(PropName_Value, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader)value).
Value
);
ApplyCompressionNegotiation.cs (4)
169
header.
Value
.Contains("Accept-Encoding", StringComparison.OrdinalIgnoreCase))
265
Value = header.
Value
411
Value = $"W/{header.
Value
}"
415
Log.LogMessage(MessageImportance.Low, "Adding Content-Type '{1}' header to related endpoint '{0}'", relatedEndpointCandidate.Route, header.
Value
);
Data\StaticWebAssetEndpoint.cs (2)
385
responseHeaderComparison = ResponseHeaders[i].
Value
.CompareTo(other.ResponseHeaders[i].
Value
);
Data\StaticWebAssetEndpointResponseHeader.cs (6)
29
private string GetDebuggerDisplay() => $"{Name}: {
Value
}";
35
string.Equals(
Value
, other.
Value
, StringComparison.Ordinal);
45
return HashCode.Combine(Name,
Value
);
51
0 => string.CompareOrdinal(
Value
, other.
Value
),
FilterStaticWebAssetEndpoints.cs (1)
122
if (MeetsCriteria(criteria, header.Name, header.
Value
))
GenerateStaticWebAssetEndpointsManifest.cs (1)
151
var headerValues = header.
Value
.Split([','], StringSplitOptions.RemoveEmptyEntries);
UpdateStaticWebAssetEndpoints.cs (3)
132
var (headers, headerRemoved) = RemoveAllIfFound(endpoint.ResponseHeaders, h => h.Name, h => h.
Value
, operation.Name, operation.Value);
223
h => h.
Value
,
290
var (headers, headerRemoved) = RemoveFirstIfFound(endpoint.ResponseHeaders, h => h.Name, h => h.
Value
, operation.Name, operation.Value);