다음을 통해 공유


MvcRazorPagesMvcCoreBuilderExtensions.AddRazorPages 메서드

정의

오버로드

AddRazorPages(IMvcCoreBuilder)

Razor Pages에 필요한 서비스를 등록합니다.

AddRazorPages(IMvcCoreBuilder, Action<RazorPagesOptions>)

Razor Pages에 필요한 서비스를 등록합니다.

AddRazorPages(IMvcCoreBuilder)

Source:
MvcRazorPagesMvcCoreBuilderExtensions.cs
Source:
MvcRazorPagesMvcCoreBuilderExtensions.cs
Source:
MvcRazorPagesMvcCoreBuilderExtensions.cs

Razor Pages에 필요한 서비스를 등록합니다.

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

매개 변수

반환

IMvcCoreBuilder

적용 대상

AddRazorPages(IMvcCoreBuilder, Action<RazorPagesOptions>)

Source:
MvcRazorPagesMvcCoreBuilderExtensions.cs
Source:
MvcRazorPagesMvcCoreBuilderExtensions.cs
Source:
MvcRazorPagesMvcCoreBuilderExtensions.cs

Razor Pages에 필요한 서비스를 등록합니다.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorPages (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> setupAction);
static member AddRazorPages : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddRazorPages (builder As IMvcCoreBuilder, setupAction As Action(Of RazorPagesOptions)) As IMvcCoreBuilder

매개 변수

setupAction
Action<RazorPagesOptions>

를 설정하는 작업입니다 RazorPagesOptions.

반환

IMvcCoreBuilder

적용 대상