VirtualPathProviderViewEngine Class

 

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

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

Inheritance Hierarchy

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

Syntax

public abstract class VirtualPathProviderViewEngine : IViewEngine
public ref class VirtualPathProviderViewEngine abstract : IViewEngine
[<AbstractClass>]
type VirtualPathProviderViewEngine = 
    class
        interface IViewEngine
    end
Public MustInherit Class VirtualPathProviderViewEngine
    Implements IViewEngine

Constructors

Name Description
System_CAPS_protmethod VirtualPathProviderViewEngine()

Initializes a new instance of the VirtualPathProviderViewEngine class.

Properties

Name Description
System_CAPS_pubproperty AreaMasterLocationFormats

Gets or sets the area-enabled master location formats.

System_CAPS_pubproperty AreaPartialViewLocationFormats

Gets or sets the area-enabled partial-view location formats.

System_CAPS_pubproperty AreaViewLocationFormats

Gets or sets the area-enabled view location formats.

System_CAPS_protproperty DisplayModeProvider

Gets or sets the display mode provider.

System_CAPS_pubproperty FileExtensions

Gets or sets the file-name extensions that are used to locate a view.

System_CAPS_pubproperty MasterLocationFormats

Gets or sets the master location formats.

System_CAPS_pubproperty PartialViewLocationFormats

Gets or sets the partial-view location formats.

System_CAPS_pubproperty ViewLocationCache

Gets or sets the view location cache.

System_CAPS_pubproperty ViewLocationFormats

Gets or sets the view location formats.

System_CAPS_protproperty VirtualPathProvider

Gets or sets the virtual path provider.

Methods

Name Description
System_CAPS_protmethod CreatePartialView(ControllerContext, String)

Creates the specified partial view by using the specified controller context.

System_CAPS_protmethod CreateView(ControllerContext, String, String)

Creates the specified view by using the controller context, path of the view, and path of the master view.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod FileExists(ControllerContext, String)

Returns a value that indicates whether the file is in the specified path by using the specified controller context.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FindPartialView(ControllerContext, String, Boolean)

Finds the specified partial view by using the specified controller context.

System_CAPS_pubmethod FindView(ControllerContext, String, String, Boolean)

Finds the specified view by using the specified controller context and master view name.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ReleaseView(ControllerContext, IView)

Releases the specified view by using the specified controller context.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

System.Web.Mvc Namespace

Return to top