Interface IGetsMvcRenderingConfig
An object which can provide a RenderingConfig instance which is suitable for use with ASP.NET MVC (either MVC5 or MVC Core).
Namespace: ZptSharp.Mvc5
Assembly: ZptSharp.Mvc5.dll
Syntax
public interface IGetsMvcRenderingConfig
Methods
| Improve this Doc View SourceGetMvcRenderingConfig(RenderingConfig, ViewContext, String)
Gets the rendering configuration instance.
Declaration
RenderingConfig GetMvcRenderingConfig(RenderingConfig originalConfig, ViewContext viewContext, string viewsPath)
Parameters
Type | Name | Description |
---|---|---|
RenderingConfig | originalConfig | Original config. |
System.Web.Mvc.ViewContext | viewContext | View context. |
System.String | viewsPath | The path to the root of the |
Returns
Type | Description |
---|---|
RenderingConfig | The MVC rendering config. |