C# Class HermaFx.Mvc.FeatureBasedRazorViewEngine

Inheritance: System.Web.Mvc.RazorViewEngine
显示文件 Open project: evicertia/HermaFx

Public Methods

Method Description
FeatureBasedRazorViewEngine ( ) : System

Protected Methods

Method Description
CreatePartialView ( ControllerContext controllerContext, string partialPath ) : IView

Creates the partial view.

CreateView ( ControllerContext controllerContext, string viewPath, string masterPath ) : IView

Creates the view.

FileExists ( ControllerContext context, string virtualPath ) : bool

Files the exists.

Private Methods

Method Description
GetActualFilePath ( string virtualPath ) : string
GetRootDirectory ( ) : string
LookupDirectory ( DirectoryInfo &folder, string name ) : string
LookupFile ( DirectoryInfo folder, string name ) : string
ResolveActualFilePath ( string virtualPath ) : string

Method Details

CreatePartialView() protected method

Creates the partial view.
protected CreatePartialView ( ControllerContext controllerContext, string partialPath ) : IView
controllerContext ControllerContext The controller context.
partialPath string The partial path.
return IView

CreateView() protected method

Creates the view.
protected CreateView ( ControllerContext controllerContext, string viewPath, string masterPath ) : IView
controllerContext ControllerContext The controller context.
viewPath string The view path.
masterPath string The master path.
return IView

FeatureBasedRazorViewEngine() public method

public FeatureBasedRazorViewEngine ( ) : System
return System

FileExists() protected method

Files the exists.
protected FileExists ( ControllerContext context, string virtualPath ) : bool
context ControllerContext The context.
virtualPath string The virtual path.
return bool