Property | Type | Description | |
---|---|---|---|
CompiledRazorViewEngine | System |
Method | Description | |
---|---|---|
GetPageType ( string virtualPath ) : |
Get the type of the viewpage class for a virtual path. Returns null if the view page does not exist
|
|
RegisterViewAssembly ( |
Find all views in the assembly and map them to virtual paths. Views with the same virtual path will overwrite existing views to allow an individual project to override views from a common library.
|
Method | Description | |
---|---|---|
CreatePartialView ( System.Web.Mvc.ControllerContext controllerContext, string partialPath ) : IView | ||
CreateView ( System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath ) : IView | ||
FileExists ( System.Web.Mvc.ControllerContext controllerContext, string virtualPath ) : bool |
Method | Description | |
---|---|---|
CompiledRazorViewEngine ( ) : System |
protected CreatePartialView ( System.Web.Mvc.ControllerContext controllerContext, string partialPath ) : IView | ||
controllerContext | System.Web.Mvc.ControllerContext | |
partialPath | string | |
return | IView |
protected CreateView ( System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath ) : IView | ||
controllerContext | System.Web.Mvc.ControllerContext | |
viewPath | string | |
masterPath | string | |
return | IView |
protected FileExists ( System.Web.Mvc.ControllerContext controllerContext, string virtualPath ) : bool | ||
controllerContext | System.Web.Mvc.ControllerContext | |
virtualPath | string | |
return | bool |
public static GetPageType ( string virtualPath ) : |
||
virtualPath | string | |
return |
public static RegisterViewAssembly ( |
||
a | ||
return | void |