MvcViewFeaturesMvcBuilderExtensions.AddViewComponentsAsServices 메서드

정의

검색된 뷰 구성 요소를 에서 IServiceCollection서비스로 등록합니다.

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

매개 변수

반환

IMvcBuilder

적용 대상