IHtmlContentContainer Interface

Definition

Defines a contract for IHtmlContent instances made up of several components which can be copied into an IHtmlContentBuilder.

public interface class IHtmlContentContainer : Microsoft::AspNetCore::Html::IHtmlContent
public interface IHtmlContentContainer : Microsoft.AspNetCore.Html.IHtmlContent
type IHtmlContentContainer = interface
    interface IHtmlContent
Public Interface IHtmlContentContainer
Implements IHtmlContent
Derived
Implements

Methods

CopyTo(IHtmlContentBuilder)

Copies the contained content of this IHtmlContentContainer into builder.

MoveTo(IHtmlContentBuilder)

Moves the contained content of this IHtmlContentContainer into builder.

After MoveTo(IHtmlContentBuilder) is called, this IHtmlContentContainer instance should be left in an empty state.

WriteTo(TextWriter, HtmlEncoder)

Writes the content by encoding it with the specified encoder to the specified writer.

(Inherited from IHtmlContent)

Applies to