Свойство | Тип | Описание | |
---|---|---|---|
CompiledRazorViewEngine | System |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
CompiledRazorViewEngine ( ) : System |
protected CreatePartialView ( System.Web.Mvc.ControllerContext controllerContext, string partialPath ) : IView | ||
controllerContext | System.Web.Mvc.ControllerContext | |
partialPath | string | |
Результат | IView |
protected CreateView ( System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath ) : IView | ||
controllerContext | System.Web.Mvc.ControllerContext | |
viewPath | string | |
masterPath | string | |
Результат | IView |
protected FileExists ( System.Web.Mvc.ControllerContext controllerContext, string virtualPath ) : bool | ||
controllerContext | System.Web.Mvc.ControllerContext | |
virtualPath | string | |
Результат | bool |
public static GetPageType ( string virtualPath ) : |
||
virtualPath | string | |
Результат |
public static RegisterViewAssembly ( |
||
a | ||
Результат | void |