DefaultServiceProviderFactory Класс

Определение

Реализация 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)
Наследование
DefaultServiceProviderFactory
Реализации

Конструкторы

Имя Описание
DefaultServiceProviderFactory()

Инициализирует новый экземпляр DefaultServiceProviderFactory класса с параметрами по умолчанию.

DefaultServiceProviderFactory(ServiceProviderOptions)

Инициализирует новый экземпляр DefaultServiceProviderFactory класса с указанным options.

Методы

Имя Описание
CreateBuilder(IServiceCollection)

Создает построитель контейнеров из объекта IServiceCollection.

CreateServiceProvider(IServiceCollection)

Создает из IServiceProvider построителя контейнеров.

Применяется к