MvcRazorPagesMvcCoreBuilderExtensions.WithRazorPagesRoot Metodo

Definizione

Configura Razor Pages per l'uso dell'oggetto specificato 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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

rootDirectory
String

Percorso relativo dell'applicazione da usare come directory radice.

Restituisce

Si applica a