Class EightyViewEngine
An IViewEngine which can render IHtmlRenderer<TModel>s and IHtmlBuilderRenderer<TModel>s
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Eighty.AspNetCore.Mvc.ViewFeatures
Assembly: Eighty.AspNetCore.dll
Syntax
public class EightyViewEngine : IViewEngine
Constructors
| Improve this Doc View SourceEightyViewEngine(EightyViewOptions, IServiceProvider)
Create an EightyViewEngine
Declaration
public EightyViewEngine(EightyViewOptions options, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
EightyViewOptions | options | The view options |
IServiceProvider | serviceProvider | The service provider |
Methods
| Improve this Doc View SourceFindView(ActionContext, String, Boolean)
Declaration
public ViewEngineResult FindView(ActionContext context, string viewName, bool isMainPage)
Parameters
Type | Name | Description |
---|---|---|
ActionContext | context | |
String | viewName | |
Boolean | isMainPage |
Returns
Type | Description |
---|---|
ViewEngineResult |
GetView(String, String, Boolean)
Declaration
public ViewEngineResult GetView(string executingFilePath, string viewPath, bool isMainPage)
Parameters
Type | Name | Description |
---|---|---|
String | executingFilePath | |
String | viewPath | |
Boolean | isMainPage |
Returns
Type | Description |
---|---|
ViewEngineResult |