IRazorViewEngine Interface

Definition

An IViewEngine used to render pages that use the Razor syntax.

public interface class IRazorViewEngine : Microsoft::AspNetCore::Mvc::ViewEngines::IViewEngine
public interface IRazorViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine
type IRazorViewEngine = interface
    interface IViewEngine
Public Interface IRazorViewEngine
Implements IViewEngine
Derived
Implements

Methods

FindPage(ActionContext, String)

Finds the page with the given pageName using view locations and information from the context.

FindView(ActionContext, String, Boolean)

Finds the view with the given viewName using view locations and information from the context.

(Inherited from IViewEngine)
GetAbsolutePath(String, String)

Converts the given pagePath to be absolute, relative to executingFilePath unless pagePath is already absolute.

GetPage(String, String)

Gets the page with the given pagePath, relative to executingFilePath unless pagePath is already absolute.

GetView(String, String, Boolean)

Gets the view with the given viewPath, relative to executingFilePath unless viewPath is already absolute.

(Inherited from IViewEngine)

Applies to