다음을 통해 공유


MvcCoreMvcBuilderExtensions.ConfigureApiBehaviorOptions 메서드

정의

ApiBehaviorOptions를 구성하는 경우.

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

매개 변수

setupAction
Action<ApiBehaviorOptions>

구성 작업입니다.

반환

IMvcBuilder

적용 대상