Class HtmlResult
An System.Web.Mvc.ActionResult which renders some Html
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
System.Nullable<System.Net.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 |
---|---|
System.Nullable<System.Net.HttpStatusCode> | A custom status code |
Methods
| Improve this Doc View SourceExecuteResult(ControllerContext)
Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.ControllerContext | context |
Overrides
System.Web.Mvc.ActionResult.ExecuteResult(System.Web.Mvc.ControllerContext)