프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |