RazorViewEngine Class
Represents a view engine that is used to render a Web page that uses the ASP.NET Razor syntax.
System.Object
System.Web.Mvc.VirtualPathProviderViewEngine
System.Web.Mvc.BuildManagerViewEngine
System.Web.Mvc.RazorViewEngine
System.Web.Mvc.VirtualPathProviderViewEngine
System.Web.Mvc.BuildManagerViewEngine
System.Web.Mvc.RazorViewEngine
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The RazorViewEngine type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | RazorViewEngine() | Initializes a new instance of the RazorViewEngine class. |
![]() | RazorViewEngine(IViewPageActivator) | Initializes a new instance of the RazorViewEngine class using the view page activator. |
| Name | Description | |
|---|---|---|
![]() | AreaMasterLocationFormats | Gets or sets the area-enabled master location formats. (Inherited from VirtualPathProviderViewEngine.) |
![]() | AreaPartialViewLocationFormats | Gets or sets the area-enabled partial-view location formats. (Inherited from VirtualPathProviderViewEngine.) |
![]() | AreaViewLocationFormats | Gets or sets the area-enabled view location formats. (Inherited from VirtualPathProviderViewEngine.) |
![]() | DisplayModeProvider | Gets or sets the display mode provider. (Inherited from VirtualPathProviderViewEngine.) |
![]() | FileExtensions | Gets or sets the file-name extensions that are used to locate a view. (Inherited from VirtualPathProviderViewEngine.) |
![]() | MasterLocationFormats | Gets or sets the master location formats. (Inherited from VirtualPathProviderViewEngine.) |
![]() | PartialViewLocationFormats | Gets or sets the partial-view location formats. (Inherited from VirtualPathProviderViewEngine.) |
![]() | ViewLocationCache | Gets or sets the view location cache. (Inherited from VirtualPathProviderViewEngine.) |
![]() | ViewLocationFormats | Gets or sets the view location formats. (Inherited from VirtualPathProviderViewEngine.) |
![]() | ViewPageActivator | Gets the view page activator. (Inherited from BuildManagerViewEngine.) |
![]() | VirtualPathProvider | Gets or sets the virtual path provider. (Inherited from VirtualPathProviderViewEngine.) |
| Name | Description | |
|---|---|---|
![]() | CreatePartialView | Creates a partial view using the specified controller context and partial path. (Overrides VirtualPathProviderViewEngine.CreatePartialView(ControllerContext, String).) |
![]() | CreateView | Creates a view by using the specified controller context and the paths of the view and master view. (Overrides VirtualPathProviderViewEngine.CreateView(ControllerContext, String, String).) |
![]() | Equals | (Inherited from Object.) |
![]() | FileExists | Gets a value that indicates whether a file exists in the specified virtual file system (path). (Inherited from BuildManagerViewEngine.) |
![]() | Finalize | (Inherited from Object.) |
![]() | FindPartialView | Finds the specified partial view by using the specified controller context. (Inherited from VirtualPathProviderViewEngine.) |
![]() | FindView | Finds the specified view by using the specified controller context and master view name. (Inherited from VirtualPathProviderViewEngine.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ReleaseView | Releases the specified view by using the specified controller context. (Inherited from VirtualPathProviderViewEngine.) |
![]() | ToString | (Inherited from Object.) |
Show:
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)