Class HtmlResult
An ActionResult which renders some Html
Inherited Members
Namespace: Eighty.AspNet.Mvc.ActionResults
Assembly: Eighty.AspNet.Mvc.dll
Syntax
public class HtmlResult : ActionResult
Constructors
| Improve this Doc View SourceHtmlResult(Html, Nullable<HttpStatusCode>)
Creates an HtmlResult
Declaration
public HtmlResult(Html html, HttpStatusCode? statusCode = default(HttpStatusCode? ))
Parameters
Type | Name | Description |
---|---|---|
Html | html | The Html |
Nullable<HttpStatusCode> | statusCode | A custom status code |
Properties
| Improve this Doc View SourceHtml
The Html
Declaration
public Html Html { get; }
Property Value
Type | Description |
---|---|
Html | The Html |
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 |