Class HtmlBuilderResult
An
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 = null)
Parameters
Type | Name | Description |
---|---|---|
HtmlBuilder | htmlBuilder | The HtmlBuilder |
Nullable<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 |
---|---|
Nullable<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 |