26 references to HtmlContentBuilder
Microsoft.AspNetCore.Html.Abstractions.Tests (19)
HtmlContentBuilderTest.cs (17)
16var content = new HtmlContentBuilder(); 31var content = new HtmlContentBuilder(); 47var content = new HtmlContentBuilder(); 63var content = new HtmlContentBuilder(); 81var content = new HtmlContentBuilder(); 99var content = new HtmlContentBuilder(); 115var source = new HtmlContentBuilder(); 119var destination = new HtmlContentBuilder(); 139var source = new HtmlContentBuilder(); 141var nested = new HtmlContentBuilder(); 146var destination = new HtmlContentBuilder(); 167var source = new HtmlContentBuilder(); 171var destination = new HtmlContentBuilder(); 191var source = new HtmlContentBuilder(); 193var nested = new HtmlContentBuilder(); 198var destination = new HtmlContentBuilder(); 219var content = new HtmlContentBuilder();
HtmlFormattableStringTest.cs (2)
70var builder = new HtmlContentBuilder(); 90new HtmlContentBuilder().Append("Billy"));
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
DefaultDisplayTemplates.cs (1)
107var result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count);
DefaultEditorTemplates.cs (1)
89var result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count);
Rendering\TagBuilder.cs (1)
96_innerHtml = new HtmlContentBuilder();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ViewComponentResultTest.cs (2)
408var result = Task.FromResult<IHtmlContent>(new HtmlContentBuilder().AppendHtml(expected)); 450var result = Task.FromResult<IHtmlContent>(new HtmlContentBuilder().AppendHtml(expected));
Microsoft.AspNetCore.Razor.Test (2)
TagHelpers\TagHelperOutputTest.cs (2)
1052var buffer = new HtmlContentBuilder(); 1072var buffer = new HtmlContentBuilder();