HtmlContentBuilderExtensions.AppendLine Method

Definition

Overloads

AppendLine(IHtmlContentBuilder)

Appends an NewLine.

AppendLine(IHtmlContentBuilder, IHtmlContent)

Appends an NewLine after appending the IHtmlContent value.

AppendLine(IHtmlContentBuilder, String)

Appends an NewLine after appending the String value. The value is treated as unencoded as-provided, and will be HTML encoded before writing to output.

AppendLine(IHtmlContentBuilder)

Source:
HtmlContentBuilderExtensions.cs
Source:
HtmlContentBuilderExtensions.cs

Appends an NewLine.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendLine(Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ builder);
public static Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendLine (this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder);
static member AppendLine : Microsoft.AspNetCore.Html.IHtmlContentBuilder -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
<Extension()>
Public Function AppendLine (builder As IHtmlContentBuilder) As IHtmlContentBuilder

Parameters

Returns

The IHtmlContentBuilder.

Applies to

AppendLine(IHtmlContentBuilder, IHtmlContent)

Source:
HtmlContentBuilderExtensions.cs
Source:
HtmlContentBuilderExtensions.cs

Appends an NewLine after appending the IHtmlContent value.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendLine(Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ builder, Microsoft::AspNetCore::Html::IHtmlContent ^ content);
public static Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendLine (this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, Microsoft.AspNetCore.Html.IHtmlContent content);
static member AppendLine : Microsoft.AspNetCore.Html.IHtmlContentBuilder * Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
<Extension()>
Public Function AppendLine (builder As IHtmlContentBuilder, content As IHtmlContent) As IHtmlContentBuilder

Parameters

content
IHtmlContent

The IHtmlContent to append.

Returns

The IHtmlContentBuilder.

Applies to

AppendLine(IHtmlContentBuilder, String)

Source:
HtmlContentBuilderExtensions.cs
Source:
HtmlContentBuilderExtensions.cs

Appends an NewLine after appending the String value. The value is treated as unencoded as-provided, and will be HTML encoded before writing to output.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendLine(Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ builder, System::String ^ unencoded);
public static Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendLine (this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, string unencoded);
static member AppendLine : Microsoft.AspNetCore.Html.IHtmlContentBuilder * string -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
<Extension()>
Public Function AppendLine (builder As IHtmlContentBuilder, unencoded As String) As IHtmlContentBuilder

Parameters

unencoded
String

The String to append.

Returns

The IHtmlContentBuilder.

Applies to