Class HtmlBuilderResult
An ActionResult which renders an HtmlBuilder
Inherited Members
Namespace: Eighty.AspNet.Mvc.ActionResults
Assembly: Eighty.AspNet.Mvc.dll
Syntax
public class HtmlBuilderResult : ActionResult
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 |
| 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 SourceExecuteResult(ControllerContext)
Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ControllerContext | context |