WebHostBuilderExtensions.Configure メソッド

定義

オーバーロード

Configure(IWebHostBuilder, Action<IApplicationBuilder>)

Web アプリケーションの構成に使用するスタートアップ 方法を指定します。

Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>)

Web アプリケーションの構成に使用するスタートアップ 方法を指定します。

Configure(IWebHostBuilder, Action<IApplicationBuilder>)

ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs
ソース:
WebHostBuilderExtensions.cs

Web アプリケーションの構成に使用するスタートアップ 方法を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ Configure(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
static member Configure : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function Configure (hostBuilder As IWebHostBuilder, configureApp As Action(Of IApplicationBuilder)) As IWebHostBuilder

パラメーター

hostBuilder
IWebHostBuilder

構成する IWebHostBuilder

configureApp
Action<IApplicationBuilder>

IApplicationBuilderを構成するデリゲート。

戻り値

IWebHostBuilder

適用対象

Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>)

ソース:
WebHostBuilderExtensions.cs

Web アプリケーションの構成に使用するスタートアップ 方法を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ Configure(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Hosting::WebHostBuilderContext ^, Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
static member Configure : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function Configure (hostBuilder As IWebHostBuilder, configureApp As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder

パラメーター

hostBuilder
IWebHostBuilder

構成する IWebHostBuilder

configureApp
Action<WebHostBuilderContext,IApplicationBuilder>

IApplicationBuilderを構成するデリゲート。

戻り値

IWebHostBuilder

適用対象