Deila með


DefaultServiceProviderFactory.CreateServiceProvider Method

Definition

Creates an IServiceProvider from the container builder.

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

Parameters

containerBuilder
IServiceCollection

The container builder.

Returns

The newly created service provider.

Implements

Applies to