Show / Hide Table of Contents

Class HtmlBuilderRendererResult<TModel>

An which renders an IHtmlBuilderRenderer<TModel> using a TModel

Inheritance
Object
HtmlBuilderRendererResult<TModel>
Namespace: Eighty.AspNetCore.Mvc.ActionResults
Assembly: Eighty.AspNetCore.dll
Syntax
public class HtmlBuilderRendererResult<TModel> : IActionResult
Type Parameters
Name Description
TModel

The model type

Constructors

| Improve this Doc View Source

HtmlBuilderRendererResult(IHtmlBuilderRenderer<TModel>, TModel, Nullable<HttpStatusCode>)

Creates a HtmlBuilderRendererResult<TModel>

Declaration
public HtmlBuilderRendererResult(IHtmlBuilderRenderer<TModel> view, TModel model, HttpStatusCode? statusCode = null)
Parameters
Type Name Description
IHtmlBuilderRenderer<TModel> view

The view

TModel model

The model

Nullable<HttpStatusCode> statusCode

A custom status code

Properties

| Improve this Doc View Source

Model

The model

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

The model

| 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 IHtmlBuilderRenderer<TModel> View { get; }
Property Value
Type Description
IHtmlBuilderRenderer<TModel>

The view

Methods

| Improve this Doc View Source

ExecuteResultAsync(ActionContext)

Declaration
public Task ExecuteResultAsync(ActionContext context)
Parameters
Type Name Description
ActionContext context
Returns
Type Description
Task
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX