7 references to AddClass
Microsoft.AspNetCore.Mvc.TagHelpers.Test (7)
TagHelperOutputExtensionsTest.cs (7)
983
tagHelperOutput.
AddClass
("btn", htmlEncoder);
1004
tagHelperOutput.
AddClass
("btn", htmlEncoder);
1005
tagHelperOutput.
AddClass
("btn-primary", htmlEncoder);
1025
tagHelperOutput.
AddClass
("btn", htmlEncoder);
1026
tagHelperOutput.
AddClass
("btn-success", htmlEncoder);
1027
tagHelperOutput.
AddClass
("btn-primary", htmlEncoder);
1053
var exceptionAdd = Assert.Throws<ArgumentException>(() => tagHelperOutput.
AddClass
(classValue, htmlEncoder));