Show / Hide Table of Contents

Class EightyViewAdapter<TModel>

Wraps an IHtmlRenderer<TModel> into an

Inheritance
Object
EightyViewAdapter<TModel>
Namespace: Eighty.AspNetCore.Mvc.ViewFeatures
Assembly: Eighty.AspNetCore.dll
Syntax
public class EightyViewAdapter<TModel> : IView
Type Parameters
Name Description
TModel

The model type

Constructors

| Improve this Doc View Source

EightyViewAdapter(String, IHtmlRenderer<TModel>)

Creates an EightyViewAdapter<TModel>

Declaration
public EightyViewAdapter(string path, IHtmlRenderer<TModel> view)
Parameters
Type Name Description
String path

The view path

IHtmlRenderer<TModel> view

The view

Properties

| Improve this Doc View Source

Path

Declaration
public string Path { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

RenderAsync(ViewContext)

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