RazorView Constructor (ControllerContext, String, String, Boolean, IEnumerable(String))
Initializes a new instance of the RazorView class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
new : controllerContext:ControllerContext * viewPath:string * layoutPath:string * runViewStartPages:bool * viewStartFileExtensions:IEnumerable<string> -> RazorView
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- viewPath
- Type: System.String
The view path.
- layoutPath
- Type: System.String
The layout or master page.
- runViewStartPages
- Type: System.Boolean
A value that indicates whether view start files should be executed before the view.
- viewStartFileExtensions
- Type: System.Collections.Generic.IEnumerable(String)
The set of extensions that will be used when looking up view start files.
Show: