116 writes to Attributes
Microsoft.AspNetCore.Mvc.Razor (29)
TagHelpers\UrlResolutionTagHelper.cs (29)
23
[HtmlTargetElement("*",
Attributes
= "[itemid^='~/']")]
24
[HtmlTargetElement("a",
Attributes
= "[href^='~/']")]
25
[HtmlTargetElement("applet",
Attributes
= "[archive^='~/']")]
26
[HtmlTargetElement("area",
Attributes
= "[href^='~/']", TagStructure = TagStructure.WithoutEndTag)]
27
[HtmlTargetElement("audio",
Attributes
= "[src^='~/']")]
28
[HtmlTargetElement("base",
Attributes
= "[href^='~/']", TagStructure = TagStructure.WithoutEndTag)]
29
[HtmlTargetElement("blockquote",
Attributes
= "[cite^='~/']")]
30
[HtmlTargetElement("button",
Attributes
= "[formaction^='~/']")]
31
[HtmlTargetElement("del",
Attributes
= "[cite^='~/']")]
32
[HtmlTargetElement("embed",
Attributes
= "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)]
33
[HtmlTargetElement("form",
Attributes
= "[action^='~/']")]
34
[HtmlTargetElement("html",
Attributes
= "[manifest^='~/']")]
35
[HtmlTargetElement("iframe",
Attributes
= "[src^='~/']")]
36
[HtmlTargetElement("img",
Attributes
= "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)]
37
[HtmlTargetElement("img",
Attributes
= "[srcset^='~/']", TagStructure = TagStructure.WithoutEndTag)]
38
[HtmlTargetElement("input",
Attributes
= "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)]
39
[HtmlTargetElement("input",
Attributes
= "[formaction^='~/']", TagStructure = TagStructure.WithoutEndTag)]
40
[HtmlTargetElement("ins",
Attributes
= "[cite^='~/']")]
41
[HtmlTargetElement("link",
Attributes
= "[href^='~/']", TagStructure = TagStructure.WithoutEndTag)]
42
[HtmlTargetElement("menuitem",
Attributes
= "[icon^='~/']")]
43
[HtmlTargetElement("object",
Attributes
= "[archive^='~/']")]
44
[HtmlTargetElement("object",
Attributes
= "[data^='~/']")]
45
[HtmlTargetElement("q",
Attributes
= "[cite^='~/']")]
46
[HtmlTargetElement("script",
Attributes
= "[src^='~/']")]
47
[HtmlTargetElement("source",
Attributes
= "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)]
48
[HtmlTargetElement("source",
Attributes
= "[srcset^='~/']", TagStructure = TagStructure.WithoutEndTag)]
49
[HtmlTargetElement("track",
Attributes
= "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)]
50
[HtmlTargetElement("video",
Attributes
= "[src^='~/']")]
51
[HtmlTargetElement("video",
Attributes
= "[poster^='~/']")]
Microsoft.AspNetCore.Mvc.TagHelpers (67)
AnchorTagHelper.cs (11)
14
[HtmlTargetElement("a",
Attributes
= ActionAttributeName)]
15
[HtmlTargetElement("a",
Attributes
= ControllerAttributeName)]
16
[HtmlTargetElement("a",
Attributes
= AreaAttributeName)]
17
[HtmlTargetElement("a",
Attributes
= PageAttributeName)]
18
[HtmlTargetElement("a",
Attributes
= PageHandlerAttributeName)]
19
[HtmlTargetElement("a",
Attributes
= FragmentAttributeName)]
20
[HtmlTargetElement("a",
Attributes
= HostAttributeName)]
21
[HtmlTargetElement("a",
Attributes
= ProtocolAttributeName)]
22
[HtmlTargetElement("a",
Attributes
= RouteAttributeName)]
23
[HtmlTargetElement("a",
Attributes
= RouteValuesDictionaryName)]
24
[HtmlTargetElement("a",
Attributes
= RouteValuesPrefix + "*")]
ComponentTagHelper.cs (1)
17
[HtmlTargetElement(TagHelperName,
Attributes
= ComponentTypeName, TagStructure = TagStructure.WithoutEndTag)]
DistributedCacheTagHelper.cs (1)
16
[HtmlTargetElement("distributed-cache",
Attributes
= NameAttributeName)]
FormActionTagHelper.cs (27)
16
[HtmlTargetElement("button",
Attributes
= ActionAttributeName)]
17
[HtmlTargetElement("button",
Attributes
= ControllerAttributeName)]
18
[HtmlTargetElement("button",
Attributes
= AreaAttributeName)]
19
[HtmlTargetElement("button",
Attributes
= PageAttributeName)]
20
[HtmlTargetElement("button",
Attributes
= PageHandlerAttributeName)]
21
[HtmlTargetElement("button",
Attributes
= FragmentAttributeName)]
22
[HtmlTargetElement("button",
Attributes
= RouteAttributeName)]
23
[HtmlTargetElement("button",
Attributes
= RouteValuesDictionaryName)]
24
[HtmlTargetElement("button",
Attributes
= RouteValuesPrefix + "*")]
25
[HtmlTargetElement("input",
Attributes
= ImageActionAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
26
[HtmlTargetElement("input",
Attributes
= ImageControllerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
27
[HtmlTargetElement("input",
Attributes
= ImageAreaAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
28
[HtmlTargetElement("input",
Attributes
= ImagePageAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
29
[HtmlTargetElement("input",
Attributes
= ImagePageHandlerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
30
[HtmlTargetElement("input",
Attributes
= ImageFragmentAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
31
[HtmlTargetElement("input",
Attributes
= ImageRouteAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
32
[HtmlTargetElement("input",
Attributes
= ImageRouteValuesDictionarySelector, TagStructure = TagStructure.WithoutEndTag)]
33
[HtmlTargetElement("input",
Attributes
= ImageRouteValuesSelector, TagStructure = TagStructure.WithoutEndTag)]
34
[HtmlTargetElement("input",
Attributes
= SubmitActionAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
35
[HtmlTargetElement("input",
Attributes
= SubmitControllerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
36
[HtmlTargetElement("input",
Attributes
= SubmitAreaAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
37
[HtmlTargetElement("input",
Attributes
= SubmitPageAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
38
[HtmlTargetElement("input",
Attributes
= SubmitPageHandlerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
39
[HtmlTargetElement("input",
Attributes
= SubmitFragmentAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
40
[HtmlTargetElement("input",
Attributes
= SubmitRouteAttributeSelector, TagStructure = TagStructure.WithoutEndTag)]
41
[HtmlTargetElement("input",
Attributes
= SubmitRouteValuesDictionarySelector, TagStructure = TagStructure.WithoutEndTag)]
42
[HtmlTargetElement("input",
Attributes
= SubmitRouteValuesSelector, TagStructure = TagStructure.WithoutEndTag)]
ImageTagHelper.cs (1)
24
Attributes
= AppendVersionAttributeName + "," + SrcAttributeName,
InputTagHelper.cs (1)
15
[HtmlTargetElement("input",
Attributes
= ForAttributeName, TagStructure = TagStructure.WithoutEndTag)]
LabelTagHelper.cs (1)
13
[HtmlTargetElement("label",
Attributes
= ForAttributeName)]
LinkTagHelper.cs (9)
25
[HtmlTargetElement("link",
Attributes
= HrefIncludeAttributeName, TagStructure = TagStructure.WithoutEndTag)]
26
[HtmlTargetElement("link",
Attributes
= HrefExcludeAttributeName, TagStructure = TagStructure.WithoutEndTag)]
27
[HtmlTargetElement("link",
Attributes
= FallbackHrefAttributeName, TagStructure = TagStructure.WithoutEndTag)]
28
[HtmlTargetElement("link",
Attributes
= FallbackHrefIncludeAttributeName, TagStructure = TagStructure.WithoutEndTag)]
29
[HtmlTargetElement("link",
Attributes
= FallbackHrefExcludeAttributeName, TagStructure = TagStructure.WithoutEndTag)]
30
[HtmlTargetElement("link",
Attributes
= FallbackTestClassAttributeName, TagStructure = TagStructure.WithoutEndTag)]
31
[HtmlTargetElement("link",
Attributes
= FallbackTestPropertyAttributeName, TagStructure = TagStructure.WithoutEndTag)]
32
[HtmlTargetElement("link",
Attributes
= FallbackTestValueAttributeName, TagStructure = TagStructure.WithoutEndTag)]
33
[HtmlTargetElement("link",
Attributes
= AppendVersionAttributeName, TagStructure = TagStructure.WithoutEndTag)]
PartialTagHelper.cs (1)
17
[HtmlTargetElement("partial",
Attributes
= "name", TagStructure = TagStructure.WithoutEndTag)]
ScriptTagHelper.cs (9)
26
[HtmlTargetElement("script",
Attributes
= SrcIncludeAttributeName)]
27
[HtmlTargetElement("script",
Attributes
= SrcExcludeAttributeName)]
28
[HtmlTargetElement("script",
Attributes
= FallbackSrcAttributeName)]
29
[HtmlTargetElement("script",
Attributes
= FallbackSrcIncludeAttributeName)]
30
[HtmlTargetElement("script",
Attributes
= FallbackSrcExcludeAttributeName)]
31
[HtmlTargetElement("script",
Attributes
= FallbackTestExpressionAttributeName)]
32
[HtmlTargetElement("script",
Attributes
= AppendVersionAttributeName)]
33
[HtmlTargetElement("script",
Attributes
= TypeAttributeName)]
34
[HtmlTargetElement("script",
Attributes
= ImportMapAttributeName)]
SelectTagHelper.cs (2)
17
[HtmlTargetElement("select",
Attributes
= ForAttributeName)]
18
[HtmlTargetElement("select",
Attributes
= ItemsAttributeName)]
TextAreaTagHelper.cs (1)
13
[HtmlTargetElement("textarea",
Attributes
= ForAttributeName)]
ValidationMessageTagHelper.cs (1)
14
[HtmlTargetElement("span",
Attributes
= ValidationForAttributeName)]
ValidationSummaryTagHelper.cs (1)
14
[HtmlTargetElement("div",
Attributes
= ValidationSummaryAttributeName)]
Microsoft.AspNetCore.Razor.Runtime.Test (17)
Runtime\TagHelpers\TestTagHelpers\TagHelperDescriptorFactoryTagHelpers.cs (17)
131
[HtmlTargetElement(
Attributes
= "class*")]
136
[HtmlTargetElement(
Attributes
= "class*,style*")]
141
[HtmlTargetElement(
Attributes
= "class")]
146
[HtmlTargetElement(
Attributes
= "class,style")]
151
[HtmlTargetElement(
Attributes
= "custom")]
152
[HtmlTargetElement(
Attributes
= "class,style")]
157
[HtmlTargetElement(
Attributes
= "style")]
162
[HtmlTargetElement("input",
Attributes
= "class")]
167
[HtmlTargetElement("div",
Attributes
= "class")]
172
[HtmlTargetElement("div",
Attributes
= "class")]
173
[HtmlTargetElement("input",
Attributes
= "class")]
178
[HtmlTargetElement("input",
Attributes
= "style")]
179
[HtmlTargetElement("input",
Attributes
= "class")]
184
[HtmlTargetElement("input",
Attributes
= "class,style")]
189
[HtmlTargetElement("div",
Attributes
= "style")]
194
[HtmlTargetElement("div",
Attributes
= "class,style")]
195
[HtmlTargetElement("input",
Attributes
= "class,style")]
TagHelpersWebSite (3)
TagHelpers\BoldTagHelper.cs (1)
8
[HtmlTargetElement(
Attributes
= "bold")]
TagHelpers\DictionaryPrefixTestTagHelper.cs (1)
10
[HtmlTargetElement(
Attributes
= "prefix-*")]
TagHelpers\SurroundTagHelper.cs (1)
8
[HtmlTargetElement(
Attributes
= nameof(Surround))]
3 references to Attributes
Microsoft.AspNetCore.Razor (3)
TagHelpers\HtmlTargetElementAttribute.cs (3)
19
/// elements with the required <see cref="
Attributes
"/>.
35
/// targets all HTML elements with the required <see cref="
Attributes
"/>.</remarks>
43
/// targets all HTML elements with the required <see cref="
Attributes
"/>.