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