7 writes to Name
Microsoft.NET.Sdk.StaticWebAssets.Tasks (7)
_generated\9\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointProperty.g.cs (1)
59Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty>(obj).Name = value!,
ApplyCompressionNegotiation.cs (1)
264Name = "original-resource",
DefineStaticWebAssetEndpoints.cs (3)
210properties[i++] = new StaticWebAssetEndpointProperty { Name = value.Key, Value = value.Value }; 219properties[i++] = new StaticWebAssetEndpointProperty { Name = "label", Value = label }; 224properties[i++] = new StaticWebAssetEndpointProperty { Name = "integrity", Value = $"sha256-{asset.Integrity}" };
UpdateStaticWebAssetEndpoints.cs (2)
239(name, value) => new StaticWebAssetEndpointProperty { Name = name, Value = value }, 340Name = operation.Name,
25 references to Name
Microsoft.NET.Sdk.StaticWebAssets.Tasks (25)
_generated\9\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointProperty.g.cs (2)
58Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty)obj).Name, 100writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty)value).Name);
ApplyCompressionNegotiation.cs (1)
361if (string.Equals(property.Name, "fingerprint", StringComparison.Ordinal))
ComputeEndpointsForReferenceStaticWebAssets.cs (1)
52if (string.Equals(property.Name, "label", StringComparison.OrdinalIgnoreCase))
Data\StaticWebAssetEndpoint.cs (2)
355var propertyComparison = EndpointProperties[i].Name.CompareTo(other.EndpointProperties[i].Name);
Data\StaticWebAssetEndpointProperty.cs (6)
29public int CompareTo(StaticWebAssetEndpointProperty other) => string.CompareOrdinal(Name, other.Name) switch 39string.Equals(Name, other.Name, StringComparison.Ordinal) && 50return HashCode.Combine(Name, Value); 54private string GetDebuggerDisplay() => $"Name: {Name}, Value: {Value}";
FilterStaticWebAssetEndpoints.cs (1)
88if (MeetsCriteria(criteria, property.Name, property.Value))
OverrideHtmlAssetPlaceholders.cs (8)
181if (property.Name.Equals("label", StringComparison.OrdinalIgnoreCase)) 185else if (property.Name.Equals("integrity", StringComparison.OrdinalIgnoreCase)) 189else if (property.Name.Equals("preloadgroup", StringComparison.OrdinalIgnoreCase)) 193else if (property.Name.Equals("preloadrel", StringComparison.OrdinalIgnoreCase)) 197else if (property.Name.Equals("preloadas", StringComparison.OrdinalIgnoreCase)) 201else if (property.Name.Equals("preloadpriority", StringComparison.OrdinalIgnoreCase)) 205else if (property.Name.Equals("preloadcrossorigin", StringComparison.OrdinalIgnoreCase)) 209else if (property.Name.Equals("preloadorder", StringComparison.OrdinalIgnoreCase))
ResolveFingerprintedStaticWebAssetEndpointsForAssets.cs (1)
104if (string.Equals(property.Name, "fingerprint", StringComparison.OrdinalIgnoreCase))
UpdateStaticWebAssetEndpoints.cs (3)
140var (properties, propertyRemoved) = RemoveAllIfFound(endpoint.EndpointProperties, p => p.Name, p => p.Value, operation.Name, operation.Value); 237p => p.Name, 298var (properties, propertyRemoved) = RemoveFirstIfFound(endpoint.EndpointProperties, p => p.Name, p => p.Value, operation.Name, operation.Value);