11 references to AddHtmlAttribute
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageBase.cs (2)
625_tagHelperAttributeInfo.ExecutionContext.AddHtmlAttribute( 667executionContext.AddHtmlAttribute(_tagHelperAttributeInfo.Name, content, _tagHelperAttributeInfo.AttributeValueStyle);
Microsoft.AspNetCore.Razor.Runtime.Test (9)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (8)
459executionContext.AddHtmlAttribute("class", "btn", HtmlAttributeValueStyle.DoubleQuotes); 460executionContext.AddHtmlAttribute("type", "text", HtmlAttributeValueStyle.SingleQuotes); 509executionContext.AddHtmlAttribute("class", "btn", HtmlAttributeValueStyle.DoubleQuotes); 510executionContext.AddHtmlAttribute("foo", "bar", HtmlAttributeValueStyle.DoubleQuotes); 511executionContext.AddHtmlAttribute("valid", "true", HtmlAttributeValueStyle.NoQuotes); 512executionContext.AddHtmlAttribute("type", "text", HtmlAttributeValueStyle.SingleQuotes); 537executionContext.AddHtmlAttribute("class", "btn", HtmlAttributeValueStyle.DoubleQuotes); 539executionContext.AddHtmlAttribute("type", "text", HtmlAttributeValueStyle.NoQuotes);
Runtime\TagHelpers\TagHelperRunnerTest.cs (1)
161executionContext.AddHtmlAttribute("class", "btn", HtmlAttributeValueStyle.DoubleQuotes);