共用方式為


ApplicationBuilder 建構函式

定義

多載

ApplicationBuilder(IServiceProvider)

初始化 ApplicationBuilder 的新執行個體。

ApplicationBuilder(IServiceProvider, Object)

初始化 ApplicationBuilder 的新執行個體。

ApplicationBuilder(IServiceProvider)

來源:
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)

來源:
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

裝載應用程式的伺服器實例。

適用於