C# Class Rebel.Cms.Web.EmbeddedViewEngine.EmbeddedRazorViewEngine

View Engine for embedded razor views
Inheritance: System.Web.Mvc.RazorViewEngine
Mostra file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
EmbeddedRazorViewEngine ( ) : System

Sets default locations to look for views in for areas

EmbeddedRazorViewEngine ( IViewPageActivator viewPageActivator ) : System

Protected Methods

Method Description
FileExists ( System.Web.Mvc.ControllerContext controllerContext, string virtualPath ) : bool

This overrides this method specifically to just check against our virtual path provider instead of going back to the BuildManager to check.

Private Methods

Method Description
Init ( ) : void

Method Details

EmbeddedRazorViewEngine() public method

Sets default locations to look for views in for areas
public EmbeddedRazorViewEngine ( ) : System
return System

EmbeddedRazorViewEngine() public method

public EmbeddedRazorViewEngine ( IViewPageActivator viewPageActivator ) : System
viewPageActivator IViewPageActivator
return System

FileExists() protected method

This overrides this method specifically to just check against our virtual path provider instead of going back to the BuildManager to check.
protected FileExists ( System.Web.Mvc.ControllerContext controllerContext, string virtualPath ) : bool
controllerContext System.Web.Mvc.ControllerContext
virtualPath string
return bool