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