HtmlContentBuilderExtensions Class

Definition

Extension methods for IHtmlContentBuilder.

public ref class HtmlContentBuilderExtensions abstract sealed
public static class HtmlContentBuilderExtensions
type HtmlContentBuilderExtensions = class
Public Module HtmlContentBuilderExtensions
Inheritance
HtmlContentBuilderExtensions

Methods

AppendFormat(IHtmlContentBuilder, IFormatProvider, String, Object[])

Appends the specified format to the existing content with information from the formatProvider after replacing each format item with the HTML encoded String representation of the corresponding item in the args array.

AppendFormat(IHtmlContentBuilder, String, Object[])

Appends the specified format to the existing content after replacing each format item with the HTML encoded String representation of the corresponding item in the args array.

AppendHtmlLine(IHtmlContentBuilder, String)

Appends an NewLine after appending the String value. The value is treated as HTML encoded as-provided, and no further encoding will be performed.

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.

SetContent(IHtmlContentBuilder, String)

Sets the content to the String value. The value is treated as unencoded as-provided, and will be HTML encoded before writing to output.

SetHtmlContent(IHtmlContentBuilder, IHtmlContent)

Sets the content to the IHtmlContent value.

SetHtmlContent(IHtmlContentBuilder, String)

Sets the content to the String value. The value is treated as HTML encoded as-provided, and no further encoding will be performed.

Applies to