Udostępnij za pośrednictwem


IViewEngine Interface

Defines the methods that are required for a view engine.

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

Syntax

'Declaration
Public Interface IViewEngine
public interface IViewEngine
public interface class IViewEngine

The IViewEngine type exposes the following members.

Methods

  Name Description
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.
Public method ReleaseView Releases the specified view by using the specified controller context.

Top

Remarks

A view engine is called by the MVC framework to render view pages.

See Also

Reference

System.Web.Mvc Namespace