Comparteix a través de


IServiceProviderFactory<TContainerBuilder>.CreateServiceProvider Método

Definición

Crea una interfaz IServiceProvider a partir del generador de contenedores.

public:
 IServiceProvider ^ CreateServiceProvider(TContainerBuilder containerBuilder);
public IServiceProvider CreateServiceProvider (TContainerBuilder containerBuilder);
abstract member CreateServiceProvider : 'ContainerBuilder -> IServiceProvider
Public Function CreateServiceProvider (containerBuilder As TContainerBuilder) As IServiceProvider

Parámetros

containerBuilder
TContainerBuilder

Generador de contenedores.

Devoluciones

Una clase IServiceProvider.

Se aplica a