다음을 통해 공유


MvcViewFeaturesMvcCoreBuilderExtensions.AddViews 메서드

정의

오버로드

AddViews(IMvcCoreBuilder)

관련 서비스 보기를 추가합니다.

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

관련 서비스 보기를 추가합니다.

AddViews(IMvcCoreBuilder)

Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

관련 서비스 보기를 추가합니다.

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

매개 변수

반환

IMvcCoreBuilder

적용 대상

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

관련 서비스 보기를 추가합니다.

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

매개 변수

setupAction
Action<MvcViewOptions>

에 대한 설정 작업입니다 MvcViewOptions.

반환

IMvcCoreBuilder

적용 대상