다음을 통해 공유


IStartup.ConfigureServices(IServiceCollection) 메서드

정의

에 서비스를 등록합니다 IServiceCollection.

public:
 IServiceProvider ^ ConfigureServices(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public IServiceProvider ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
abstract member ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
Public Function ConfigureServices (services As IServiceCollection) As IServiceProvider

매개 변수

services
IServiceCollection

서비스를 추가할 IServiceCollection입니다.

반환

적용 대상