VirtualPathProviderViewEngine Class

Represents an abstract base-class implementation of the IViewEngine interface.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.VirtualPathProviderViewEngine
    System.Web.Mvc.BuildManagerViewEngine

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public MustInherit Class VirtualPathProviderViewEngine _
    Implements IViewEngine
'Usage
Dim instance As VirtualPathProviderViewEngine
public abstract class VirtualPathProviderViewEngine : IViewEngine
public ref class VirtualPathProviderViewEngine abstract : IViewEngine
[<AbstractClassAttribute>]
type VirtualPathProviderViewEngine =  
    class 
        interface IViewEngine 
    end
public abstract class VirtualPathProviderViewEngine implements IViewEngine

The VirtualPathProviderViewEngine type exposes the following members.

Constructors

  Name Description
Protected method VirtualPathProviderViewEngine Initializes a new instance of the VirtualPathProviderViewEngine class.

Top

Properties

  Name Description
Public property AreaMasterLocationFormats Gets or sets the area-enabled master location formats.
Public property AreaPartialViewLocationFormats Gets or sets the area-enabled partial-view location formats.
Public property AreaViewLocationFormats Gets or sets the area-enabled view location formats.
Protected property DisplayModeProvider Gets or sets the display mode provider.
Public property FileExtensions Gets or sets the file-name extensions that are used to locate a view.
Public property MasterLocationFormats Gets or sets the master location formats.
Public property PartialViewLocationFormats Gets or sets the partial-view location formats.
Public property ViewLocationCache Gets or sets the view location cache.
Public property ViewLocationFormats Gets or sets the view location formats.
Protected property VirtualPathProvider Gets or sets the virtual path provider.

Top

Methods

  Name Description
Protected method CreatePartialView Creates the specified partial view by using the specified controller context.
Protected method CreateView Creates the specified view by using the controller context, path of the view, and path of the master view.
Public method Equals (Inherited from Object.)
Protected method FileExists Returns a value that indicates whether the file is in the specified path by using the specified controller context.
Protected method Finalize (Inherited from Object.)
Public method FindPartialView Finds the specified partial view by using the specified controller context.
Public method FindView Finds the specified view by using the specified controller context and master view name.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReleaseView Releases the specified view by using the specified controller context.
Public method ToString (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.

See Also

Reference

System.Web.Mvc Namespace