Class ModuleViewEngineCollection
Inheritance
System.Object
ModuleViewEngineCollection
Implements
System.Web.Mvc.IViewEngine
System.Collections.Generic.IEnumerable<System.Web.Mvc.IViewEngine>
System.Collections.IEnumerable
Inherited Members
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: EPiServer.Shell.Web.Mvc
Assembly: EPiServer.Shell.dll
Version: 11.20.7Syntax
public class ModuleViewEngineCollection : IViewEngine, IEnumerable<IViewEngine>, IEnumerable
Constructors
ModuleViewEngineCollection()
Declaration
public ModuleViewEngineCollection()
Methods
Add(String, IViewEngine)
Declaration
public void Add(string name, IViewEngine viewEngine)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Web.Mvc.IViewEngine | viewEngine |
FindPartialView(ControllerContext, String, Boolean)
Declaration
public ViewEngineResult FindPartialView(ControllerContext controllerContext, string partialViewName, bool useCache)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.ControllerContext | controllerContext | |
System.String | partialViewName | |
System.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 | |
System.String | viewName | |
System.String | masterName | |
System.Boolean | useCache |
Returns
Type | Description |
---|---|
System.Web.Mvc.ViewEngineResult |
GetEnumerator()
Declaration
public IEnumerator<IViewEngine> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.Web.Mvc.IViewEngine> |
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 |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Web.Mvc.IViewEngine
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable