HostingAbstractionsWebHostBuilderExtensions.UseConfiguration メソッド

定義

Web ホストで指定された構成設定を使用します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseConfiguration(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Microsoft::Extensions::Configuration::IConfiguration ^ configuration);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseConfiguration (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Microsoft.Extensions.Configuration.IConfiguration configuration);
static member UseConfiguration : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseConfiguration (hostBuilder As IWebHostBuilder, configuration As IConfiguration) As IWebHostBuilder

パラメーター

hostBuilder
IWebHostBuilder

構成する IWebHostBuilder

configuration
IConfiguration

IConfiguration使用する設定を含む 。

戻り値

IWebHostBuilder

適用対象