Show / Hide Table of Contents

Class HtmlRendererResult<TModel>

An ActionResult which renders an IHtmlRenderer<TModel> using a TModel

Inheritance
Object
ActionResult
HtmlRendererResult<TModel>
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Eighty.AspNet.Mvc.ActionResults
Assembly: Eighty.AspNet.Mvc.dll
Syntax
public class HtmlRendererResult<TModel> : ActionResult
Type Parameters
Name Description
TModel

The model type

Constructors

| Improve this Doc View Source

HtmlRendererResult(IHtmlRenderer<TModel>, TModel, Nullable<HttpStatusCode>)

Creates an HtmlRendererResult<TModel>

Declaration
public HtmlRendererResult(IHtmlRenderer<TModel> view, TModel model, HttpStatusCode? statusCode = default(HttpStatusCode? ))
Parameters
Type Name Description
IHtmlRenderer<TModel> view

The view

TModel model

The model

Nullable<HttpStatusCode> statusCode

A custom status code

Properties

| Improve this Doc View Source

Model

The mode

Declaration
public TModel Model { get; }
Property Value
Type Description
TModel

The mode

| Improve this Doc View Source

StatusCode

A custom status code

Declaration
public HttpStatusCode? StatusCode { get; }
Property Value
Type Description
Nullable<HttpStatusCode>

A custom status code

| Improve this Doc View Source

View

The view

Declaration
public IHtmlRenderer<TModel> View { get; }
Property Value
Type Description
IHtmlRenderer<TModel>

The view

Methods

| Improve this Doc View Source

ExecuteResult(ControllerContext)

Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type Name Description
ControllerContext context
Overrides
ActionResult.ExecuteResult(ControllerContext)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX