Show / Hide Table of Contents

Class TwentyViewAdapter<TModel>

Wraps an IHtmlBuilderRenderer<TModel> into an

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

The model type

Constructors

| Improve this Doc View Source

TwentyViewAdapter(String, IHtmlBuilderRenderer<TModel>)

Creates a TwentyViewAdapter<TModel>

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

The view path

IHtmlBuilderRenderer<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