14 writes to Name
Microsoft.NET.Sdk.StaticWebAssets.Tasks (14)
_generated\11\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointResponseHeader.g.cs (1)
61Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader>(obj).Name = value!,
ApplyCompressionNegotiation.cs (5)
95Name = "Vary", 150Name = "Vary", 230Name = "Content-Encoding", 235Name = "Vary", 414Name = "ETag",
DefineStaticWebAssetEndpoints.cs (6)
178Name = "Content-Length", 183Name = "Content-Type", 188Name = "ETag", 193Name = "Last-Modified", 203headers[4] = new() { Name = "Cache-Control", Value = "max-age=31536000, immutable" }; 210headers[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)
60Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader)obj).Name, 102writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader)value).Name);
ApplyCompressionNegotiation.cs (11)
172if (string.Equals(header.Name, "Vary", StringComparison.OrdinalIgnoreCase) && 188result.Add(responseHeader.Name); 263if (string.Equals(header.Name, "ETag", StringComparison.Ordinal)) 302if (string.Equals(responseHeader.Name, "Content-Encoding", StringComparison.Ordinal)) 377if (string.Equals(header.Name, "Content-Type", StringComparison.Ordinal)) 385Log.LogMessage(MessageImportance.Low, " Adding header '{0}' to related endpoint '{1}'", header.Name, relatedEndpointCandidateRoute); 397if (!compressedHeaders.Contains(header.Name)) 399Log.LogMessage(MessageImportance.Low, " Adding header '{0}' to related endpoint '{1}'", header.Name, relatedEndpointCandidate.Route); 402else if (string.Equals(AttachWeakETagToCompressedAssets, "ResponseHeader", StringComparison.Ordinal) && string.Equals(header.Name, "ETag", StringComparison.Ordinal)) 417}else if (string.Equals(header.Name, "Content-Type", StringComparison.Ordinal)) 425Log.LogMessage(MessageImportance.Low, " Skipping header '{0}' for related endpoint '{1}'", header.Name, relatedEndpointCandidate.Route);
Data\StaticWebAssetEndpoint.cs (2)
380var 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);