Partager via


StartupBase.CreateServiceProvider(IServiceCollection) Méthode

Définition

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

Retours

L’IServiceProvideropérateur

S’applique à