Show / Hide Table of Contents

Class HtmlBuilderResult

An IActionResult which renders an HtmlBuilder

Inheritance
Object
HtmlBuilderResult
Implements
IActionResult
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 = default(HttpStatusCode? ))
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

Implements

Microsoft.AspNetCore.Mvc.IActionResult
  • Improve this Doc
  • View Source
Back to top Generated by DocFX