Compartilhar via


DefaultServiceProviderFactory.CreateBuilder(IServiceCollection) Método

Definição

Cria um construtor de contêineres de um IServiceCollection.

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

Parâmetros

services
IServiceCollection

A coleção de serviços.

Retornos

Um construtor de contêineres que pode ser usado para criar um IServiceProvider.

Implementações

Aplica-se a