다음을 통해 공유


MvcCoreMvcCoreBuilderExtensions.ConfigureApiBehaviorOptions 메서드

정의

ApiBehaviorOptions를 구성하는 경우.

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

매개 변수

setupAction
Action<ApiBehaviorOptions>

구성 작업입니다.

반환

IMvcCoreBuilder

적용 대상