Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DefaultServiceProviderFactory Class

Definition

Namespace:
Microsoft.Extensions.DependencyInjection
Assembly:
Microsoft.Extensions.DependencyInjection.dll
Package:
Microsoft.Extensions.DependencyInjection v11.0.0-preview.5.26302.115
Source:
DefaultServiceProviderFactory.cs
Source:
DefaultServiceProviderFactory.cs
Source:
DefaultServiceProviderFactory.cs
Source:
DefaultServiceProviderFactory.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
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

Name Description
CreateBuilder(IServiceCollection)

Creates a container builder from an IServiceCollection.

CreateServiceProvider(IServiceCollection)

Creates an IServiceProvider from the container builder.

Applies to


Feedback

Was this page helpful?