HelperResult Class

Definition

Represents a deferred write operation in a RazorPage.

public ref class HelperResult : Microsoft::AspNetCore::Html::IHtmlContent
public class HelperResult : Microsoft.AspNetCore.Html.IHtmlContent
type HelperResult = class
    interface IHtmlContent
Public Class HelperResult
Implements IHtmlContent
Inheritance
HelperResult
Implements

Constructors

HelperResult(Func<TextWriter,Task>)

Creates a new instance of HelperResult.

Properties

WriteAction

Gets the asynchronous delegate to invoke when WriteTo(TextWriter, HtmlEncoder) is called.

Methods

WriteTo(TextWriter, HtmlEncoder)

Method invoked to produce content from the HelperResult.

Applies to