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.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to