Compartir a través de


DefaultServiceProviderFactory.CreateServiceProvider Método

Definición

Crea una interfaz IServiceProvider a partir del generador de contenedores.

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

Parámetros

containerBuilder
IServiceCollection

Generador de contenedores.

Devoluciones

El proveedor de servicios recién creado.

Implementaciones

Se aplica a