Del via


DefaultServiceProviderFactory Class

Definition

Default implementation of IServiceProviderFactory<TContainerBuilder>.

public ref class DefaultServiceProviderFactory : Microsoft::Extensions::DependencyInjection::IServiceProviderFactory<Microsoft::Extensions::DependencyInjection::IServiceCollection ^>
public class DefaultServiceProviderFactory : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<Microsoft.Extensions.DependencyInjection.IServiceCollection>
type DefaultServiceProviderFactory = class
    interface IServiceProviderFactory<IServiceCollection>
Public Class DefaultServiceProviderFactory
Implements IServiceProviderFactory(Of IServiceCollection)
Inheritance
DefaultServiceProviderFactory
Implements

Constructors

DefaultServiceProviderFactory()

Initializes a new instance of the DefaultServiceProviderFactory class with default options.

DefaultServiceProviderFactory(ServiceProviderOptions)

Initializes a new instance of the DefaultServiceProviderFactory class with the specified options.

Methods

CreateBuilder(IServiceCollection)

Creates a container builder from an IServiceCollection.

CreateServiceProvider(IServiceCollection)

Creates an IServiceProvider from the container builder.

Applies to