Compartir a través de


DefaultServiceProviderFactory.CreateBuilder(IServiceCollection) Método

Definición

Crea un generador de contenedores a partir de 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

Colección de servicios.

Devoluciones

Un generador de contenedores que se puede usar para crear una interfaz IServiceProvider.

Implementaciones

Se aplica a