RazorView Class
Represents the class used to create views that have Razor syntax.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The RazorView type exposes the following members.
| Name | Description | |
|---|---|---|
|
RazorView(ControllerContext, String, String, Boolean, IEnumerable<String>) | Initializes a new instance of the RazorView class. |
|
RazorView(ControllerContext, String, String, Boolean, IEnumerable<String>, IViewPageActivator) | Initializes a new instance of the RazorView class using the view page activator. |
| Name | Description | |
|---|---|---|
|
LayoutPath | Gets the layout or master page. |
|
RunViewStartPages | Gets a value that indicates whether view start files should be executed before the view. |
|
ViewPath | Gets or sets the view path. (Inherited from BuildManagerCompiledView.) |
|
ViewStartFileExtensions | Gets or sets the set of file extensions that will be used when looking up view start files. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Render | Renders the specified view context by using the specified the writer object. (Inherited from BuildManagerCompiledView.) |
|
RenderView | Renders the specified view context by using the specified writer and WebViewPage instance. (Overrides BuildManagerCompiledView.RenderView(ViewContext, TextWriter, Object).) |
|
ToString | (Inherited from Object.) |