IViewEngine Interface

Summary

Defines the contract for a view engine.

Syntax

public interface IViewEngine

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.Rendering.IViewEngine

Methods

FindPartialView(Microsoft.AspNet.Mvc.ActionContext, System.String)

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

Arguments:
Return type:

Microsoft.AspNet.Mvc.Rendering.ViewEngineResult

Returns:

A result representing the result of locating the view.

ViewEngineResult FindPartialView(ActionContext context, string partialViewName)
FindView(Microsoft.AspNet.Mvc.ActionContext, System.String)

Finds the specified view by using the specified action context.

Arguments:
Return type:

Microsoft.AspNet.Mvc.Rendering.ViewEngineResult

Returns:

A result representing the result of locating the view.

ViewEngineResult FindView(ActionContext context, string viewName)