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