Partager via


StartupBase<TBuilder>.CreateServiceProvider(IServiceCollection) Méthode

Définition

Crée un IServiceProvider instance pour un .IServiceCollection

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

Retours

L’IServiceProvideropérateur

S’applique à