Condividi tramite


DefaultServiceProviderFactory.CreateBuilder(IServiceCollection) Metodo

Definizione

Crea un generatore di contenitori da un oggetto 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

Parametri

services
IServiceCollection

Raccolta di servizi.

Restituisce

È possibile usare un generatore di contenitori per creare IServiceProvider.

Implementazioni

Si applica a