1 write to Name
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttribute.cs (1)
49
Name
= name;
63 references to Name
Microsoft.AspNetCore.Mvc.Razor (5)
TagHelpers\UrlResolutionTagHelper.cs (5)
142
/// <see cref="TagHelperAttribute.
Name
"/> is <paramref name="attributeName"/>.
157
if (!string.Equals(attribute.
Name
, attributeName, StringComparison.OrdinalIgnoreCase))
167
attribute.
Name
,
194
attribute.
Name
,
202
attribute.
Name
,
Microsoft.AspNetCore.Mvc.TagHelpers (18)
LinkTagHelper.cs (5)
283
existingAttribute.
Name
,
380
if (string.Equals(attribute.
Name
, HrefAttributeName, StringComparison.OrdinalIgnoreCase))
385
if (SuppressFallbackIntegrity && string.Equals(attribute.
Name
, IntegrityAttributeName, StringComparison.OrdinalIgnoreCase))
501
if (string.Equals(attribute.
Name
, HrefAttributeName, StringComparison.OrdinalIgnoreCase))
505
AppendVersionedHref(attribute.
Name
, href, builder);
ScriptTagHelper.cs (6)
310
existingAttribute.
Name
,
391
if (!attribute.
Name
.Equals(SrcAttributeName, StringComparison.OrdinalIgnoreCase))
393
if (SuppressFallbackIntegrity && string.Equals(IntegrityAttributeName, attribute.
Name
, StringComparison.OrdinalIgnoreCase))
404
WriteVersionedSrc(attribute.
Name
, src, attribute.ValueStyle, StringWriter);
505
if (!attribute.
Name
.Equals(SrcAttributeName, StringComparison.OrdinalIgnoreCase))
513
AppendVersionedSrc(attribute.
Name
, src, attribute.ValueStyle, builder);
TagHelperOutputExtensions.cs (7)
60
context.AllAttributes[i].
Name
,
102
classAttribute.
Name
,
181
classAttribute.
Name
,
249
tagHelperOutput.Attributes.SetAttribute(classAttribute.
Name
, joinedClasses);
297
var previousName = allAttributes[i].
Name
;
312
var nextName = allAttributes[i].
Name
;
331
if (string.Equals(name, attributes[i].
Name
, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Razor (40)
TagHelpers\ReadOnlyTagHelperAttributeList.cs (19)
33
/// Gets the first <see cref="TagHelperAttribute"/> with <see cref="TagHelperAttribute.
Name
"/>
37
/// The <see cref="TagHelperAttribute.
Name
"/> of the <see cref="TagHelperAttribute"/> to get.
39
/// <returns>The first <see cref="TagHelperAttribute"/> with <see cref="TagHelperAttribute.
Name
"/>
67
/// Determines whether a <see cref="TagHelperAttribute"/> with <see cref="TagHelperAttribute.
Name
"/>
70
/// <param name="name">The <see cref="TagHelperAttribute.
Name
"/> of the
74
/// <see cref="TagHelperAttribute.
Name
"/> exists in the collection; otherwise, <c>false</c>.
83
/// Retrieves the first <see cref="TagHelperAttribute"/> with <see cref="TagHelperAttribute.
Name
"/>
86
/// <param name="name">The <see cref="TagHelperAttribute.
Name
"/> of the
89
/// <see cref="TagHelperAttribute.
Name
"/> matching <paramref name="name"/>, if found; otherwise,
92
/// <see cref="TagHelperAttribute.
Name
"/> exists in the collection; otherwise, <c>false</c>.</returns>
105
/// <see cref="TagHelperAttribute.
Name
"/> matching <paramref name="name"/>.
107
/// <param name="name">The <see cref="TagHelperAttribute.
Name
"/> of the
110
/// <see cref="TagHelperAttribute.
Name
"/> matching <paramref name="name"/>.</param>
112
/// <see cref="TagHelperAttribute.
Name
"/> exists in the collection; otherwise, <c>false</c>.</returns>
142
/// Searches for a <see cref="TagHelperAttribute"/> who's <see cref="TagHelperAttribute.
Name
"/>
146
/// <param name="name">The <see cref="TagHelperAttribute.
Name
"/> to locate in the collection.</param>
171
/// <see cref="TagHelperAttribute.
Name
"/>.</param>
174
/// <see cref="TagHelperAttribute.
Name
"/>.</returns>
179
return string.Equals(name, attribute.
Name
, StringComparison.OrdinalIgnoreCase);
TagHelpers\TagHelperAttribute.cs (10)
19
/// <param name="name">The <see cref="
Name
"/> of the attribute.</param>
29
/// <param name="name">The <see cref="
Name
"/> of the attribute.</param>
40
/// <param name="name">The <see cref="
Name
"/> of the new instance.</param>
70
/// <remarks><see cref="
Name
"/> is compared case-insensitively.</remarks>
75
string.Equals(
Name
, other.
Name
, StringComparison.OrdinalIgnoreCase) &&
86
writer.Write(
Name
);
121
destination.AppendHtml(
Name
);
166
destination.AppendHtml(
Name
);
218
hashCode.Add(
Name
, StringComparer.Ordinal);
TagHelpers\TagHelperAttributeList.cs (11)
43
/// <paramref name="value"/>'s <see cref="TagHelperAttribute.
Name
"/> must not be <c>null</c>.
60
/// Replaces the first <see cref="TagHelperAttribute"/> with <see cref="TagHelperAttribute.
Name
"/> matching
65
/// The <see cref="TagHelperAttribute.
Name
"/> of the <see cref="TagHelperAttribute"/> to set.
78
/// Replaces the first <see cref="TagHelperAttribute"/> with <see cref="TagHelperAttribute.
Name
"/> matching
79
/// <paramref name="attribute"/>'s <see cref="TagHelperAttribute.
Name
"/> and removes any additional matching
86
/// <remarks><paramref name="attribute"/>'s <see cref="TagHelperAttribute.
Name
"/> is compared
97
if (NameEquals(attribute.
Name
, Items[i]))
127
/// <param name="name">The <see cref="TagHelperAttribute.
Name
"/> of the attribute to add.</param>
153
/// <paramref name="attribute"/>s <see cref="TagHelperAttribute.
Name
"/> is compared case-insensitively.
169
/// Removes all <see cref="TagHelperAttribute"/>s with <see cref="TagHelperAttribute.
Name
"/> matching
173
/// The <see cref="TagHelperAttribute.
Name
"/> of <see cref="TagHelperAttribute"/>s to remove.