17 references to CopyHtmlAttribute
Microsoft.AspNetCore.Mvc.TagHelpers (12)
FormTagHelper.cs (1)
155
output.
CopyHtmlAttribute
(nameof(Method), context);
ImageTagHelper.cs (1)
115
output.
CopyHtmlAttribute
(SrcAttributeName, context);
InputTagHelper.cs (4)
160
output.
CopyHtmlAttribute
("type", context);
165
output.
CopyHtmlAttribute
(nameof(Name), context);
170
output.
CopyHtmlAttribute
(nameof(Value), context);
175
output.
CopyHtmlAttribute
("form", context);
LinkTagHelper.cs (1)
256
output.
CopyHtmlAttribute
(HrefAttributeName, context);
OptionTagHelper.cs (1)
67
output.
CopyHtmlAttribute
(nameof(Value), context);
ScriptTagHelper.cs (2)
265
output.
CopyHtmlAttribute
(SrcAttributeName, context);
270
output.
CopyHtmlAttribute
(TypeAttributeName, context);
SelectTagHelper.cs (1)
120
output.
CopyHtmlAttribute
(nameof(Name), context);
TextAreaTagHelper.cs (1)
68
output.
CopyHtmlAttribute
(nameof(Name), context);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
TagHelperOutputExtensionsTest.cs (5)
346
output.
CopyHtmlAttribute
(attributeNameToCopy, context);
448
output.
CopyHtmlAttribute
(attributeNameToCopy, context);
480
tagHelperOutput.
CopyHtmlAttribute
("hello", tagHelperContext);
515
tagHelperOutput.
CopyHtmlAttribute
(attributeName, tagHelperContext);
547
() => tagHelperOutput.
CopyHtmlAttribute
(invalidAttributeName, tagHelperContext),