다음을 통해 공유


MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine 메서드

정의

오버로드

AddRazorViewEngine(IMvcCoreBuilder)

Razor 뷰 엔진 서비스를 등록합니다.

AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>)

Razor 뷰 엔진 서비스를 등록합니다.

AddRazorViewEngine(IMvcCoreBuilder)

Source:
MvcRazorMvcCoreBuilderExtensions.cs
Source:
MvcRazorMvcCoreBuilderExtensions.cs
Source:
MvcRazorMvcCoreBuilderExtensions.cs

Razor 뷰 엔진 서비스를 등록합니다.

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

매개 변수

반환

IMvcCoreBuilder

적용 대상

AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>)

Source:
MvcRazorMvcCoreBuilderExtensions.cs
Source:
MvcRazorMvcCoreBuilderExtensions.cs
Source:
MvcRazorMvcCoreBuilderExtensions.cs

Razor 뷰 엔진 서비스를 등록합니다.

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

매개 변수

setupAction
Action<RazorViewEngineOptions>

를 구성하는 설정 작업입니다 RazorViewEngineOptions.

반환

IMvcCoreBuilder

적용 대상