Sdílet prostřednictvím


MvcRazorPagesMvcBuilderExtensions.WithRazorPagesAtContentRoot Metoda

Definice

Nakonfiguruje stránky Razor Pages tak, aby byly rootovány v kořenovém adresáři obsahu (ContentRootPath).

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder WithRazorPagesAtContentRoot (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member WithRazorPagesAtContentRoot : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function WithRazorPagesAtContentRoot (builder As IMvcBuilder) As IMvcBuilder

Parametry

builder
IMvcBuilder

Hodnota IMvcCoreBuilder

Návraty

Hodnota IMvcBuilder

Platí pro