Show / Hide Table of Contents

Class EightyViewCollection

A collection of views

Inheritance
Object
EightyViewCollection
Namespace: Eighty.AspNetCore.Mvc.ViewFeatures
Assembly: Eighty.AspNetCore.dll
Syntax
public class EightyViewCollection : object

Methods

| Improve this Doc View Source

RegisterSingleton<TModel>(String, IHtmlRenderer<TModel>)

Add an IHtmlRenderer<TModel> to the collection

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

The view path

IHtmlRenderer<TModel> view

The view

Type Parameters
Name Description
TModel
| Improve this Doc View Source

RegisterSingleton<TModel>(String, IHtmlBuilderRenderer<TModel>)

Add an IHtmlBuilderRenderer<TModel> to the collection

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

The view path

IHtmlBuilderRenderer<TModel> view

The view

Type Parameters
Name Description
TModel
| Improve this Doc View Source

RegisterSingleton<TModel>(String, String, IHtmlRenderer<TModel>)

Add an IHtmlRenderer<TModel> to the collection

Declaration
public void RegisterSingleton<TModel>(string controllerName, string viewName, IHtmlRenderer<TModel> view)
Parameters
Type Name Description
String controllerName

The controller name

String viewName

The view name

IHtmlRenderer<TModel> view

The view

Type Parameters
Name Description
TModel
| Improve this Doc View Source

RegisterSingleton<TModel>(String, String, IHtmlBuilderRenderer<TModel>)

Add an IHtmlBuilderRenderer<TModel> to the collection

Declaration
public void RegisterSingleton<TModel>(string controllerName, string viewName, IHtmlBuilderRenderer<TModel> view)
Parameters
Type Name Description
String controllerName

The controller name

String viewName

The view name

IHtmlBuilderRenderer<TModel> view

The view

Type Parameters
Name Description
TModel
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX