35 references to TagHelperAttribute
Microsoft.AspNetCore.Mvc.Razor (3)
Microsoft.AspNetCore.Mvc.TagHelpers (6)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (12)
LinkTagHelperTest.cs (4)
664{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.SingleQuotes) },
667{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.SingleQuotes) },
673{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.SingleQuotes) },
675{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.SingleQuotes) },
ScriptTagHelperTest.cs (8)
582{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.SingleQuotes) },
584{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.SingleQuotes) },
591{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.SingleQuotes) },
593{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.SingleQuotes) },
921{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.SingleQuotes) },
923{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.SingleQuotes) },
930{ new TagHelperAttribute("encoded", new HtmlString("contains \"quotes\""), HtmlAttributeValueStyle.SingleQuotes) },
932{ new TagHelperAttribute("mixed", mixed, HtmlAttributeValueStyle.SingleQuotes) },
Microsoft.AspNetCore.Razor (2)
Microsoft.AspNetCore.Razor.Runtime (2)
Microsoft.AspNetCore.Razor.Runtime.Test (5)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (5)
456expectedAttributes.Add(new TagHelperAttribute("type", "text", HtmlAttributeValueStyle.SingleQuotes));
503expectedAttributes.Add(new TagHelperAttribute("valid", "true", HtmlAttributeValueStyle.NoQuotes));
504expectedAttributes.Add(new TagHelperAttribute("type", "text", HtmlAttributeValueStyle.SingleQuotes));
533expectedAttributes.Add(new TagHelperAttribute("something", true, HtmlAttributeValueStyle.SingleQuotes));
534expectedAttributes.Add(new TagHelperAttribute("type", "text", HtmlAttributeValueStyle.NoQuotes));
Microsoft.AspNetCore.Razor.Test (5)
TagHelpers\TagHelperOutputTest.cs (5)
479{ new TagHelperAttribute("test", "testVal", HtmlAttributeValueStyle.NoQuotes) },
480{ new TagHelperAttribute("something", " spaced ", HtmlAttributeValueStyle.SingleQuotes) },
543new TagHelperAttribute("last", "unminimized", HtmlAttributeValueStyle.NoQuotes),
586{ new TagHelperAttribute("test", "testVal", HtmlAttributeValueStyle.SingleQuotes) }
797{ new TagHelperAttribute("test", "testVal", HtmlAttributeValueStyle.SingleQuotes) }