Export (0) Print
Expand All

VirtualPathProviderViewEngine Class

.NET Framework 4

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

System.Object
  System.Web.Mvc.VirtualPathProviderViewEngine
    System.Web.Mvc.WebFormViewEngine

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

public abstract class VirtualPathProviderViewEngine : IViewEngine

The VirtualPathProviderViewEngine type exposes the following members.

  NameDescription
Protected methodVirtualPathProviderViewEngineInitializes a new instance of the VirtualPathProviderViewEngine class.
Top

  NameDescription
Public propertyAreaMasterLocationFormatsGets or sets the area-enabled master location formats.
Public propertyAreaPartialViewLocationFormatsGets or sets the area-enabled partial-view location formats.
Public propertyAreaViewLocationFormatsGets or sets the area-enabled view location formats.
Public propertyMasterLocationFormatsGets or sets the master location formats.
Public propertyPartialViewLocationFormatsGets or sets the partial-view location formats.
Public propertyViewLocationCacheGets or sets the view location cache.
Public propertyViewLocationFormatsGets or sets the view location formats.
Protected propertyVirtualPathProviderGets or sets the virtual path provider.
Top

  NameDescription
Protected methodCreatePartialViewCreates the specified partial view by using the specified controller context.
Protected methodCreateViewCreates the specified view by using the controller context, path of the view, and path of the master view.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFileExistsReturns a value that indicates whether the file is in the specified path by using the specified controller context.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFindPartialViewFinds the specified partial view by using the specified controller context.
Public methodFindViewFinds the specified view by using the specified controller context and master view name.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReleaseViewReleases the specified view by using the specified controller context.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

You can use this class as a starting point for building a view engine that relies on the VirtualPathProviderViewEngine class to access view files.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft