7 writes to Name
Microsoft.NET.Sdk.StaticWebAssets.Tasks (7)
_generated\9\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointProperty.g.cs (1)
59
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty>(obj).
Name
= value!,
ApplyCompressionNegotiation.cs (1)
264
Name
= "original-resource",
DefineStaticWebAssetEndpoints.cs (3)
210
properties[i++] = new StaticWebAssetEndpointProperty {
Name
= value.Key, Value = value.Value };
219
properties[i++] = new StaticWebAssetEndpointProperty {
Name
= "label", Value = label };
224
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,
25 references to Name
Microsoft.NET.Sdk.StaticWebAssets.Tasks (25)
_generated\9\StaticWebAssetsJsonSerializerContext.StaticWebAssetEndpointProperty.g.cs (2)
58
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty)obj).
Name
,
100
writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty)value).
Name
);
ApplyCompressionNegotiation.cs (1)
361
if (string.Equals(property.
Name
, "fingerprint", StringComparison.Ordinal))
ComputeEndpointsForReferenceStaticWebAssets.cs (1)
52
if (string.Equals(property.
Name
, "label", StringComparison.OrdinalIgnoreCase))
Data\StaticWebAssetEndpoint.cs (2)
355
var propertyComparison = EndpointProperties[i].
Name
.CompareTo(other.EndpointProperties[i].
Name
);
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);