RazorRuntimeCompilationMvcBuilderExtensions.AddRazorRuntimeCompilation 메서드

정의

오버로드

AddRazorRuntimeCompilation(IMvcBuilder)

IMvcBuilderRazor 뷰 및 Razor Pages의 런타임 컴파일을 지원 하도록를 구성 합니다.

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

IMvcBuilderRazor 뷰 및 Razor Pages의 런타임 컴파일을 지원 하도록를 구성 합니다.

AddRazorRuntimeCompilation(IMvcBuilder)

IMvcBuilderRazor 뷰 및 Razor Pages의 런타임 컴파일을 지원 하도록를 구성 합니다.

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

매개 변수

반환

IMvcBuilder

IMvcBuilder

적용 대상

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

IMvcBuilderRazor 뷰 및 Razor Pages의 런타임 컴파일을 지원 하도록를 구성 합니다.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddRazorRuntimeCompilation (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> setupAction);
static member AddRazorRuntimeCompilation : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddRazorRuntimeCompilation (builder As IMvcBuilder, setupAction As Action(Of MvcRazorRuntimeCompilationOptions)) As IMvcBuilder

매개 변수

setupAction
Action<MvcRazorRuntimeCompilationOptions>

를 구성 하는 작업 MvcRazorRuntimeCompilationOptions 입니다.

반환

IMvcBuilder

IMvcBuilder

적용 대상