Aracılığıyla paylaş


StartupBase<TBuilder>.CreateServiceProvider(IServiceCollection) Yöntem

Tanım

Belirli IServiceCollectionbir için bir IServiceProvider örnek oluşturur.

public:
 override IServiceProvider ^ CreateServiceProvider(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public override IServiceProvider CreateServiceProvider (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
override this.CreateServiceProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
Public Overrides Function CreateServiceProvider (services As IServiceCollection) As IServiceProvider

Parametreler

services
IServiceCollection

IServiceCollection Hizmetlerin ekleneceği yer.

Döndürülenler

IServiceProvider.

Şunlara uygulanır