Partilhar via


MvcRazorPagesMvcCoreBuilderExtensions.WithRazorPagesRoot Método

Definição

Configura o Razor Pages para usar o especificado rootDirectory.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder WithRazorPagesRoot (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, string rootDirectory);
static member WithRazorPagesRoot : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * string -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function WithRazorPagesRoot (builder As IMvcCoreBuilder, rootDirectory As String) As IMvcCoreBuilder

Parâmetros

rootDirectory
String

O caminho relativo do aplicativo a ser usado como o diretório raiz.

Retornos

Aplica-se a