ApplicationBuilderFactory 类

定义

用于创建 IApplicationBuilder 实例的工厂。

public ref class ApplicationBuilderFactory : Microsoft::AspNetCore::Hosting::Builder::IApplicationBuilderFactory
public class ApplicationBuilderFactory : Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory
type ApplicationBuilderFactory = class
    interface IApplicationBuilderFactory
Public Class ApplicationBuilderFactory
Implements IApplicationBuilderFactory
继承
ApplicationBuilderFactory
实现

构造函数

ApplicationBuilderFactory(IServiceProvider)

使用 IServiceProvider初始化新的工厂实例。

方法

CreateBuilder(IFeatureCollection)

IApplicationBuilder在给定的情况下serverFeatures创建生成器。

适用于