Show / Hide Table of Contents

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 Source

GetMvcRenderingConfig(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 Views directory.

Returns
Type Description
RenderingConfig

The MVC rendering config.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX