10 instantiations of HtmlContentBuilder
Microsoft.AspNetCore.Mvc.ViewFeatures (10)
DefaultDisplayTemplates.cs (3)
107
var result = collection == null ? new
HtmlContentBuilder
() : new
HtmlContentBuilder
(collection.Count);
212
var content = new
HtmlContentBuilder
(modelExplorer.Metadata.Properties.Count);
DefaultEditorTemplates.cs (4)
90
var result = collection == null ? new
HtmlContentBuilder
() : new
HtmlContentBuilder
(collection.Count);
164
return new
HtmlContentBuilder
(capacity: 2)
255
var content = new
HtmlContentBuilder
(modelExplorer.Metadata.Properties.Count);
DefaultHtmlGenerator.cs (1)
1575
var listItemBuilder = new
HtmlContentBuilder
(count);
HtmlHelper.cs (1)
758
return new
HtmlContentBuilder
(capacity: 2)
Rendering\TagBuilder.cs (1)
96
_innerHtml = new
HtmlContentBuilder
();
11 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.Mvc.ViewFeatures (6)
DefaultDisplayTemplates.cs (2)
107
var
result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count);
212
var
content = new HtmlContentBuilder(modelExplorer.Metadata.Properties.Count);
DefaultEditorTemplates.cs (2)
90
var
result = collection == null ? new HtmlContentBuilder() : new HtmlContentBuilder(collection.Count);
255
var
content = new HtmlContentBuilder(modelExplorer.Metadata.Properties.Count);
DefaultHtmlGenerator.cs (1)
1575
var
listItemBuilder = new HtmlContentBuilder(count);
Rendering\TagBuilder.cs (1)
29
private
HtmlContentBuilder
? _innerHtml;