다음을 통해 공유


StartupBase.ConfigureServices(IServiceCollection) 메서드

정의

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

public:
 virtual IServiceProvider ^ ConfigureServices(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public:
 virtual void ConfigureServices(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public virtual IServiceProvider ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
public virtual void ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
abstract member ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
override this.ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
abstract member ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> unit
override this.ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> unit
Public Overridable Function ConfigureServices (services As IServiceCollection) As IServiceProvider
Public Overridable Sub ConfigureServices (services As IServiceCollection)

매개 변수

services
IServiceCollection

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

반환

구현

적용 대상