C# Класс Microsoft.AspNetCore.Html.HtmlContentBuilder

An IHtmlContentBuilder implementation using an in memory list.
Наследование: IHtmlContentBuilder
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DebuggerToString string

Открытые методы

Метод Описание
Append ( string unencoded ) : IHtmlContentBuilder
AppendHtml ( IHtmlContent htmlContent ) : IHtmlContentBuilder
AppendHtml ( string encoded ) : IHtmlContentBuilder
Clear ( ) : IHtmlContentBuilder
CopyTo ( IHtmlContentBuilder destination ) : void
HtmlContentBuilder ( ) : System

Creates a new HtmlContentBuilder.

HtmlContentBuilder ( IList entries ) : System

Creates a new HtmlContentBuilder with the given list of entries.

HtmlContentBuilder ( int capacity ) : System

Creates a new HtmlContentBuilder with the given initial capacity.

MoveTo ( IHtmlContentBuilder destination ) : void
WriteTo ( TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder ) : void

Приватные методы

Метод Описание
DebuggerToString ( ) : string

Описание методов

Append() публичный Метод

public Append ( string unencoded ) : IHtmlContentBuilder
unencoded string
Результат IHtmlContentBuilder

AppendHtml() публичный Метод

public AppendHtml ( IHtmlContent htmlContent ) : IHtmlContentBuilder
htmlContent IHtmlContent
Результат IHtmlContentBuilder

AppendHtml() публичный Метод

public AppendHtml ( string encoded ) : IHtmlContentBuilder
encoded string
Результат IHtmlContentBuilder

Clear() публичный Метод

public Clear ( ) : IHtmlContentBuilder
Результат IHtmlContentBuilder

CopyTo() публичный Метод

public CopyTo ( IHtmlContentBuilder destination ) : void
destination IHtmlContentBuilder
Результат void

HtmlContentBuilder() публичный Метод

Creates a new HtmlContentBuilder.
public HtmlContentBuilder ( ) : System
Результат System

HtmlContentBuilder() публичный Метод

Creates a new HtmlContentBuilder with the given list of entries.
public HtmlContentBuilder ( IList entries ) : System
entries IList /// The list of entries. The will use this list without making a copy. ///
Результат System

HtmlContentBuilder() публичный Метод

Creates a new HtmlContentBuilder with the given initial capacity.
public HtmlContentBuilder ( int capacity ) : System
capacity int The initial capacity of the backing store.
Результат System

MoveTo() публичный Метод

public MoveTo ( IHtmlContentBuilder destination ) : void
destination IHtmlContentBuilder
Результат void

WriteTo() публичный Метод

public WriteTo ( TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder ) : void
writer System.IO.TextWriter
encoder System.Text.Encodings.Web.HtmlEncoder
Результат void