Compartilhar via


IRazorPageFactoryProvider.CreateFactory(String) Método

Definição

Cria uma IRazorPage fábrica para o caminho especificado.

public:
 Microsoft::AspNetCore::Mvc::Razor::RazorPageFactoryResult CreateFactory(System::String ^ relativePath);
public Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult CreateFactory (string relativePath);
abstract member CreateFactory : string -> Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult
Public Function CreateFactory (relativePath As String) As RazorPageFactoryResult

Parâmetros

relativePath
String

O caminho para localizar a página.

Retornos

A instância RazorPageFactoryResult.

Aplica-se a