VirtualPathProviderViewEngine Class
Represents an abstract base-class implementation of the IViewEngine interface.
Inheritance Hierarchy
System.Object
System.Web.Mvc.VirtualPathProviderViewEngine
System.Web.Mvc.WebFormViewEngine
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public MustInherit Class VirtualPathProviderViewEngine _
Implements IViewEngine
public abstract class VirtualPathProviderViewEngine : IViewEngine
public ref class VirtualPathProviderViewEngine abstract : IViewEngine
The VirtualPathProviderViewEngine type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VirtualPathProviderViewEngine | Initializes a new instance of the VirtualPathProviderViewEngine class. |
Top
Properties
Name | Description | |
---|---|---|
AreaMasterLocationFormats | Gets or sets the area-enabled master location formats. | |
AreaPartialViewLocationFormats | Gets or sets the area-enabled partial-view location formats. | |
AreaViewLocationFormats | Gets or sets the area-enabled view location formats. | |
MasterLocationFormats | Gets or sets the master location formats. | |
PartialViewLocationFormats | Gets or sets the partial-view location formats. | |
ViewLocationCache | Gets or sets the view location cache. | |
ViewLocationFormats | Gets or sets the view location formats. | |
VirtualPathProvider | Gets or sets the virtual path provider. |
Top
Methods
Name | Description | |
---|---|---|
CreatePartialView | Creates the specified partial view by using the specified controller context. | |
CreateView | Creates the specified view by using the controller context, path of the view, and path of the master view. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FileExists | Returns a value that indicates whether the file is in the specified path by using the specified controller context. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindPartialView | Finds the specified partial view by using the specified controller context. | |
FindView | Finds the specified view by using the specified controller context and master view name. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReleaseView | Releases the specified view by using the specified controller context. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
You can use this class as a starting point for building a view engine that relies on the VirtualPathProviderViewEngine class to access view files.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.