1 write to Name
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttribute.cs (1)
49Name = name;
63 references to Name
Microsoft.AspNetCore.Mvc.Razor (5)
TagHelpers\UrlResolutionTagHelper.cs (5)
142/// <see cref="TagHelperAttribute.Name"/> is <paramref name="attributeName"/>. 157if (!string.Equals(attribute.Name, attributeName, StringComparison.OrdinalIgnoreCase)) 167attribute.Name, 194attribute.Name, 202attribute.Name,
Microsoft.AspNetCore.Mvc.TagHelpers (18)
LinkTagHelper.cs (5)
283existingAttribute.Name, 380if (string.Equals(attribute.Name, HrefAttributeName, StringComparison.OrdinalIgnoreCase)) 385if (SuppressFallbackIntegrity && string.Equals(attribute.Name, IntegrityAttributeName, StringComparison.OrdinalIgnoreCase)) 501if (string.Equals(attribute.Name, HrefAttributeName, StringComparison.OrdinalIgnoreCase)) 505AppendVersionedHref(attribute.Name, href, builder);
ScriptTagHelper.cs (6)
310existingAttribute.Name, 391if (!attribute.Name.Equals(SrcAttributeName, StringComparison.OrdinalIgnoreCase)) 393if (SuppressFallbackIntegrity && string.Equals(IntegrityAttributeName, attribute.Name, StringComparison.OrdinalIgnoreCase)) 404WriteVersionedSrc(attribute.Name, src, attribute.ValueStyle, StringWriter); 505if (!attribute.Name.Equals(SrcAttributeName, StringComparison.OrdinalIgnoreCase)) 513AppendVersionedSrc(attribute.Name, src, attribute.ValueStyle, builder);
TagHelperOutputExtensions.cs (7)
60context.AllAttributes[i].Name, 102classAttribute.Name, 181classAttribute.Name, 249tagHelperOutput.Attributes.SetAttribute(classAttribute.Name, joinedClasses); 297var previousName = allAttributes[i].Name; 312var nextName = allAttributes[i].Name; 331if (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> 179return 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> 75string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) && 86writer.Write(Name); 121destination.AppendHtml(Name); 166destination.AppendHtml(Name); 218hashCode.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 97if (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.