14 writes to Name
Microsoft.NET.Sdk.StaticWebAssets.Tasks (14)
_generated\11\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointResponseHeader.g.cs (1)
59Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader>(obj).Name = value!,
ApplyCompressionNegotiation.cs (5)
91Name = "Vary", 146Name = "Vary", 226Name = "Content-Encoding", 231Name = "Vary", 410Name = "ETag",
DefineStaticWebAssetEndpoints.cs (6)
171Name = "Content-Length", 176Name = "Content-Type", 181Name = "ETag", 186Name = "Last-Modified", 196headers[4] = new() { Name = "Cache-Control", Value = "max-age=31536000, immutable" }; 203headers[4] = new() { Name = "Cache-Control", Value = !string.IsNullOrEmpty(cacheSetting) ? cacheSetting : "no-cache" };
UpdateStaticWebAssetEndpoints.cs (2)
224(name, value) => new StaticWebAssetEndpointResponseHeader { Name = name, Value = value }, 331Name = operation.Name,
26 references to Name
Microsoft.NET.Sdk.StaticWebAssets.Tasks (26)
_generated\11\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointResponseHeader.g.cs (2)
58Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader)obj).Name, 100writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader)value).Name);
ApplyCompressionNegotiation.cs (11)
168if (string.Equals(header.Name, "Vary", StringComparison.OrdinalIgnoreCase) && 184result.Add(responseHeader.Name); 259if (string.Equals(header.Name, "ETag", StringComparison.Ordinal)) 298if (string.Equals(responseHeader.Name, "Content-Encoding", StringComparison.Ordinal)) 373if (string.Equals(header.Name, "Content-Type", StringComparison.Ordinal)) 381Log.LogMessage(MessageImportance.Low, " Adding header '{0}' to related endpoint '{1}'", header.Name, relatedEndpointCandidateRoute); 393if (!compressedHeaders.Contains(header.Name)) 395Log.LogMessage(MessageImportance.Low, " Adding header '{0}' to related endpoint '{1}'", header.Name, relatedEndpointCandidate.Route); 398else if (string.Equals(AttachWeakETagToCompressedAssets, "ResponseHeader", StringComparison.Ordinal) && string.Equals(header.Name, "ETag", StringComparison.Ordinal)) 413}else if (string.Equals(header.Name, "Content-Type", StringComparison.Ordinal)) 421Log.LogMessage(MessageImportance.Low, " Skipping header '{0}' for related endpoint '{1}'", header.Name, relatedEndpointCandidate.Route);
Data\StaticWebAssetEndpoint.cs (2)
379var responseHeaderComparison = ResponseHeaders[i].Name.CompareTo(other.ResponseHeaders[i].Name);
Data\StaticWebAssetEndpointResponseHeader.cs (6)
29private string GetDebuggerDisplay() => $"{Name}: {Value}"; 34public bool Equals(StaticWebAssetEndpointResponseHeader other) => string.Equals(Name, other.Name, StringComparison.Ordinal) && 45return HashCode.Combine(Name, Value); 49public int CompareTo(StaticWebAssetEndpointResponseHeader other) => string.CompareOrdinal(Name, other.Name) switch
FilterStaticWebAssetEndpoints.cs (1)
122if (MeetsCriteria(criteria, header.Name, header.Value))
GenerateStaticWebAssetEndpointsManifest.cs (1)
147if (!string.Equals(header.Name, "Link", StringComparison.OrdinalIgnoreCase))
UpdateStaticWebAssetEndpoints.cs (3)
132var (headers, headerRemoved) = RemoveAllIfFound(endpoint.ResponseHeaders, h => h.Name, h => h.Value, operation.Name, operation.Value); 222h => h.Name, 290var (headers, headerRemoved) = RemoveFirstIfFound(endpoint.ResponseHeaders, h => h.Name, h => h.Value, operation.Name, operation.Value);