Class EightyViewEngine
An System.Web.Mvc.IViewEngine implementation which can render IHtmlRenderer<TModel>s or IHtmlBuilderRenderer<TModel>s.
Implements
System.Web.Mvc.IViewEngine
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Eighty.AspNet.Mvc.ViewFeatures
Assembly: Eighty.AspNet.Mvc.dll
Syntax
public class EightyViewEngine : IViewEngine
Constructors
| Improve this Doc View SourceEightyViewEngine(EightyViewConfiguration)
Create an EightyViewEngine
Declaration
public EightyViewEngine(EightyViewConfiguration options)
Parameters
Type | Name | Description |
---|---|---|
EightyViewConfiguration | options | The view options |
Methods
| Improve this Doc View SourceFindPartialView(ControllerContext, String, Boolean)
Declaration
public ViewEngineResult FindPartialView(ControllerContext controllerContext, string partialViewName, bool useCache)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.ControllerContext | controllerContext | |
String | partialViewName | |
Boolean | useCache |
Returns
Type | Description |
---|---|
System.Web.Mvc.ViewEngineResult |
FindView(ControllerContext, String, String, Boolean)
Declaration
public ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.ControllerContext | controllerContext | |
String | viewName | |
String | masterName | |
Boolean | useCache |
Returns
Type | Description |
---|---|
System.Web.Mvc.ViewEngineResult |
ReleaseView(ControllerContext, IView)
Declaration
public void ReleaseView(ControllerContext controllerContext, IView view)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.ControllerContext | controllerContext | |
System.Web.Mvc.IView | view |
Implements
System.Web.Mvc.IViewEngine