HtmlContentBuilder Constructors

Definition

Overloads

HtmlContentBuilder()

Creates a new HtmlContentBuilder.

HtmlContentBuilder(IList<Object>)

Creates a new HtmlContentBuilder with the given list of entries.

HtmlContentBuilder(Int32)

Creates a new HtmlContentBuilder with the given initial capacity.

HtmlContentBuilder()

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

Creates a new HtmlContentBuilder.

public:
 HtmlContentBuilder();
public HtmlContentBuilder ();
Public Sub New ()

Applies to

HtmlContentBuilder(IList<Object>)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

Creates a new HtmlContentBuilder with the given list of entries.

public:
 HtmlContentBuilder(System::Collections::Generic::IList<System::Object ^> ^ entries);
public HtmlContentBuilder (System.Collections.Generic.IList<object> entries);
new Microsoft.AspNetCore.Html.HtmlContentBuilder : System.Collections.Generic.IList<obj> -> Microsoft.AspNetCore.Html.HtmlContentBuilder
Public Sub New (entries As IList(Of Object))

Parameters

entries
IList<Object>

The list of entries. The HtmlContentBuilder will use this list without making a copy.

Applies to

HtmlContentBuilder(Int32)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

Creates a new HtmlContentBuilder with the given initial capacity.

public:
 HtmlContentBuilder(int capacity);
public HtmlContentBuilder (int capacity);
new Microsoft.AspNetCore.Html.HtmlContentBuilder : int -> Microsoft.AspNetCore.Html.HtmlContentBuilder
Public Sub New (capacity As Integer)

Parameters

capacity
Int32

The initial capacity of the backing store.

Applies to