Поділитися через


IServiceProviderFactory<TContainerBuilder> Interface

Definition

Provides an extension point for creating a container specific builder and an IServiceProvider.

generic <typename TContainerBuilder>
public interface class IServiceProviderFactory
public interface IServiceProviderFactory<TContainerBuilder>
type IServiceProviderFactory<'ContainerBuilder> = interface
Public Interface IServiceProviderFactory(Of TContainerBuilder)

Type Parameters

TContainerBuilder
Derived

Methods

CreateBuilder(IServiceCollection)

Creates a container builder from an IServiceCollection.

CreateServiceProvider(TContainerBuilder)

Creates an IServiceProvider from the container builder.

Applies to