Sdílet prostřednictvím


IRazorViewEngine Rozhraní

Definice

Slouží IViewEngine k vykreslení stránek, které používají syntaxi Razor.

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
Odvozené
Implementuje

Metody

FindPage(ActionContext, String)

Vyhledá stránku s danou pageName pomocí umístění zobrazení a informací z .context

FindView(ActionContext, String, Boolean)

Vyhledá zobrazení s daným viewName zobrazením pomocí umístění zobrazení a informací z .context

(Zděděno od IViewEngine)
GetAbsolutePath(String, String)

Převede danou pagePath položku na absolutní, relativní vzhledem k tomu executingFilePath , pokud pagePath již není absolutní.

GetPage(String, String)

Získá stránku s danou pagePath, relativní k executingFilePath , pokud pagePath je již absolutní.

GetView(String, String, Boolean)

Získá zobrazení s danou viewPath, relativní k executingFilePath , pokud viewPath je již absolutní.

(Zděděno od IViewEngine)

Platí pro