RazorViewEngine Class
Represents a view engine that is used to render a Web page that uses the ASP.NET Razor syntax.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
System.Web.Mvc.VirtualPathProviderViewEngine
System.Web.Mvc.BuildManagerViewEngine
System.Web.Mvc.RazorViewEngine
| 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.) |
![]() | IsPrecompiledNonUpdateableSite | (Inherited from BuildManagerViewEngine.) |
![]() | 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(ControllerContext, String) | Creates a partial view using the specified controller context and partial path.(Overrides VirtualPathProviderViewEngine.CreatePartialView(ControllerContext, String).) |
![]() | CreateView(ControllerContext, String, String) | 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(Object) | (Inherited from Object.) |
![]() | FileExists(ControllerContext, String) | Gets a value that indicates whether a file exists in the specified virtual file system (path).(Inherited from BuildManagerViewEngine.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindPartialView(ControllerContext, String, Boolean) | Finds the specified partial view by using the specified controller context.(Inherited from VirtualPathProviderViewEngine.) |
![]() | FindView(ControllerContext, String, String, Boolean) | 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(ControllerContext, IView) | Releases the specified view by using the specified controller context.(Inherited from VirtualPathProviderViewEngine.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)