Aracılığıyla paylaş


IStartup.ConfigureServices(IServiceCollection) Yöntem

Tanım

hizmetleri içine IServiceCollectionkaydedin.

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

Parametreler

services
IServiceCollection

IServiceCollection Hizmetlerin ekleneceği yer.

Döndürülenler

Şunlara uygulanır