Compartilhar via


IServiceProviderFactory<TContainerBuilder>.CreateServiceProvider Método

Definição

Cria um IServiceProvider no construtor de contêineres.

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

O construtor de contêineres.

Retornos

Um IServiceProvider.

Aplica-se a