ApplicationBuilder 构造函数

定义

重载

ApplicationBuilder(IServiceProvider)

初始化 ApplicationBuilder 的新实例。

ApplicationBuilder(IServiceProvider, Object)

初始化 ApplicationBuilder 的新实例。

ApplicationBuilder(IServiceProvider)

Source:
ApplicationBuilder.cs

初始化 ApplicationBuilder 的新实例。

public:
 ApplicationBuilder(IServiceProvider ^ serviceProvider);
public ApplicationBuilder (IServiceProvider serviceProvider);
new Microsoft.AspNetCore.Builder.ApplicationBuilder : IServiceProvider -> Microsoft.AspNetCore.Builder.ApplicationBuilder
Public Sub New (serviceProvider As IServiceProvider)

参数

serviceProvider
IServiceProvider

IServiceProvider应用程序服务的 。

适用于

ApplicationBuilder(IServiceProvider, Object)

Source:
ApplicationBuilder.cs

初始化 ApplicationBuilder 的新实例。

public:
 ApplicationBuilder(IServiceProvider ^ serviceProvider, System::Object ^ server);
public ApplicationBuilder (IServiceProvider serviceProvider, object server);
new Microsoft.AspNetCore.Builder.ApplicationBuilder : IServiceProvider * obj -> Microsoft.AspNetCore.Builder.ApplicationBuilder
Public Sub New (serviceProvider As IServiceProvider, server As Object)

参数

serviceProvider
IServiceProvider

IServiceProvider应用程序服务的 。

server
Object

承载应用程序的服务器实例。

适用于