Class HtmlBuilderResult
An IActionResult which renders an HtmlBuilder
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Eighty.AspNetCore.Mvc.ActionResults
Assembly: Eighty.AspNetCore.dll
Syntax
public class HtmlBuilderResult : IActionResult
Constructors
| Improve this Doc View SourceHtmlBuilderResult(HtmlBuilder, Nullable<HttpStatusCode>)
Creates an HtmlBuilderResult
Declaration
public HtmlBuilderResult(HtmlBuilder htmlBuilder, HttpStatusCode? statusCode = default (HttpStatusCode? ))
Parameters
Type | Name | Description |
---|---|---|
HtmlBuilder | htmlBuilder | The HtmlBuilder |
System.Nullable<System.Net.HttpStatusCode> | statusCode | A custom status code |
Properties
| Improve this Doc View SourceHtmlBuilder
The HtmlBuilder
Declaration
public HtmlBuilder HtmlBuilder { get; }
Property Value
Type | Description |
---|---|
HtmlBuilder | The HtmlBuilder |
StatusCode
A custom status code
Declaration
public HttpStatusCode? StatusCode { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Net.HttpStatusCode> | A custom status code |
Methods
| Improve this Doc View SourceExecuteResultAsync(ActionContext)
Declaration
public Task ExecuteResultAsync(ActionContext context)
Parameters
Type | Name | Description |
---|---|---|
ActionContext | context |
Returns
Type | Description |
---|---|
Task |