Udostępnij przez


MvcRazorPagesMvcBuilderExtensions.WithRazorPagesAtContentRoot Metoda

Definicja

Konfiguruje strony Razor do root w katalogu głównym zawartości (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

Element IMvcCoreBuilder.

Zwraca

Element IMvcBuilder.

Dotyczy