Show / Hide Table of Contents

Class HtmlBuilderResult

An which renders an HtmlBuilder

Inheritance
Object
HtmlBuilderResult
Namespace: Eighty.AspNetCore.Mvc.ActionResults
Assembly: Eighty.AspNetCore.dll
Syntax
public class HtmlBuilderResult : IActionResult

Constructors

| Improve this Doc View Source

HtmlBuilderResult(HtmlBuilder, Nullable<HttpStatusCode>)

Creates an HtmlBuilderResult

Declaration
public HtmlBuilderResult(HtmlBuilder htmlBuilder, HttpStatusCode? statusCode = null)
Parameters
Type Name Description
HtmlBuilder htmlBuilder

The HtmlBuilder

Nullable<HttpStatusCode> statusCode

A custom status code

Properties

| Improve this Doc View Source

HtmlBuilder

The HtmlBuilder

Declaration
public HtmlBuilder HtmlBuilder { get; }
Property Value
Type Description
HtmlBuilder

The HtmlBuilder

| Improve this Doc View Source

StatusCode

A custom status code

Declaration
public HttpStatusCode? StatusCode { get; }
Property Value
Type Description
Nullable<HttpStatusCode>

A custom status code

Methods

| Improve this Doc View Source

ExecuteResultAsync(ActionContext)

Declaration
public Task ExecuteResultAsync(ActionContext context)
Parameters
Type Name Description
ActionContext context
Returns
Type Description
Task
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX