41 instantiations of 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 (10)
DefaultDisplayTemplates.cs (3)
107var result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count); 212var content = new HtmlContentBuilder(modelExplorer.Metadata.Properties.Count);
DefaultEditorTemplates.cs (4)
89var result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count); 163return new HtmlContentBuilder(capacity: 2) 254var content = new HtmlContentBuilder(modelExplorer.Metadata.Properties.Count);
DefaultHtmlGenerator.cs (1)
1575var listItemBuilder = new HtmlContentBuilder(count);
HtmlHelper.cs (1)
758return new HtmlContentBuilder(capacity: 2)
Rendering\TagBuilder.cs (1)
96_innerHtml = new HtmlContentBuilder();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (6)
Buffers\ViewBufferTest.cs (4)
253var nested = new HtmlContentBuilder(nestedItems); 258var destination = new HtmlContentBuilder(destinationItems); 276var nested = new HtmlContentBuilder(nestedItems); 281var destination = new HtmlContentBuilder(destinationItems);
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 (6)
TagHelpers\DefaultTagHelperContentTest.cs (4)
109var destination = new HtmlContentBuilder(items); 135var destination = new HtmlContentBuilder(items); 158var destination = new HtmlContentBuilder(items); 185var destination = new HtmlContentBuilder(items);
TagHelpers\TagHelperOutputTest.cs (2)
1052var buffer = new HtmlContentBuilder(); 1072var buffer = new HtmlContentBuilder();
39 references to HtmlContentBuilder
Microsoft.AspNetCore.Html.Abstractions (5)
HtmlContentBuilder.cs (5)
16/// Creates a new <see cref="HtmlContentBuilder"/>. 24/// Creates a new <see cref="HtmlContentBuilder"/> with the given initial capacity. 33/// Gets the number of elements in the <see cref="HtmlContentBuilder"/>. 38/// Creates a new <see cref="HtmlContentBuilder"/> with the given list of entries. 41/// The list of entries. The <see cref="HtmlContentBuilder"/> will use this list without making a copy.
Microsoft.AspNetCore.Html.Abstractions.Tests (18)
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 (1)
70var builder = new HtmlContentBuilder();
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
DefaultDisplayTemplates.cs (2)
107var result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count); 212var content = new HtmlContentBuilder(modelExplorer.Metadata.Properties.Count);
DefaultEditorTemplates.cs (2)
89var result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count); 254var content = new HtmlContentBuilder(modelExplorer.Metadata.Properties.Count);
DefaultHtmlGenerator.cs (1)
1575var listItemBuilder = new HtmlContentBuilder(count);
Rendering\TagBuilder.cs (1)
29private HtmlContentBuilder? _innerHtml;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Buffers\ViewBufferTest.cs (4)
253var nested = new HtmlContentBuilder(nestedItems); 258var destination = new HtmlContentBuilder(destinationItems); 276var nested = new HtmlContentBuilder(nestedItems); 281var destination = new HtmlContentBuilder(destinationItems);
Microsoft.AspNetCore.Razor.Test (6)
TagHelpers\DefaultTagHelperContentTest.cs (4)
109var destination = new HtmlContentBuilder(items); 135var destination = new HtmlContentBuilder(items); 158var destination = new HtmlContentBuilder(items); 185var destination = new HtmlContentBuilder(items);
TagHelpers\TagHelperOutputTest.cs (2)
1052var buffer = new HtmlContentBuilder(); 1072var buffer = new HtmlContentBuilder();