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