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