Class HtmlBuilderRendererResult<TModel>
An System.Web.Mvc.ActionResult which renders an IHtmlBuilderRenderer<TModel> using a TModel
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 HtmlBuilderRendererResult<TModel> : ActionResult
Type Parameters
Name | Description |
---|---|
TModel | The model type |
Constructors
| Improve this Doc View SourceHtmlBuilderRendererResult(IHtmlBuilderRenderer<TModel>, TModel, Nullable<HttpStatusCode>)
Creates a HtmlBuilderRendererResult<TModel>
Declaration
public HtmlBuilderRendererResult(IHtmlBuilderRenderer<TModel> view, TModel model, HttpStatusCode? statusCode = default (HttpStatusCode? ))
Parameters
Type | Name | Description |
---|---|---|
IHtmlBuilderRenderer<TModel> | view | The view |
TModel | model | The model |
System.Nullable<System.Net.HttpStatusCode> | statusCode | A custom status code |
Properties
| Improve this Doc View SourceModel
The model
Declaration
public TModel Model { get; }
Property Value
Type | Description |
---|---|
TModel | The model |
StatusCode
A custom status code
Declaration
public HttpStatusCode? StatusCode { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Net.HttpStatusCode> | A custom status code |
View
The view
Declaration
public IHtmlBuilderRenderer<TModel> View { get; }
Property Value
Type | Description |
---|---|
IHtmlBuilderRenderer<TModel> | The view |
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)