다음을 통해 공유


DefaultServiceProviderFactory.CreateServiceProvider 메서드

정의

컨테이너 작성기에서 IServiceProvider를 만듭니다.

public:
 virtual IServiceProvider ^ CreateServiceProvider(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ containerBuilder);
public IServiceProvider CreateServiceProvider (Microsoft.Extensions.DependencyInjection.IServiceCollection containerBuilder);
abstract member CreateServiceProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
override this.CreateServiceProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
Public Function CreateServiceProvider (containerBuilder As IServiceCollection) As IServiceProvider

매개 변수

containerBuilder
IServiceCollection

컨테이너 작성기입니다.

반환

새로 만든 서비스 공급자입니다.

구현

적용 대상