다음을 통해 공유


FakeHostingExtensions.ConfigureAppConfiguration 메서드

정의

오버로드

ConfigureAppConfiguration(IHostBuilder, ValueTuple<String,String>[])

구성 항목을 추가합니다.

ConfigureAppConfiguration(IHostBuilder, String, String)

구성 값을 추가합니다.

ConfigureAppConfiguration(IHostBuilder, ValueTuple<String,String>[])

Source:
FakeHostingExtensions.cs

구성 항목을 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureAppConfiguration(Microsoft::Extensions::Hosting::IHostBuilder ^ builder, ... cli::array <ValueTuple<System::String ^, System::String ^>> ^ configurations);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration (this Microsoft.Extensions.Hosting.IHostBuilder builder, params (string key, string value)[] configurations);
static member ConfigureAppConfiguration : Microsoft.Extensions.Hosting.IHostBuilder * ValueTuple<string, string>[] -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureAppConfiguration (builder As IHostBuilder, ParamArray configurations As ValueTuple(Of String, String)()) As IHostBuilder

매개 변수

builder
IHostBuilder

IHostBuilder 인스턴스입니다.

configurations
ValueTuple<String,String>[]

구성 항목으로 사용할 키 및 값 튜플 목록입니다.

반환

IHostBuilder 인스턴스입니다.

적용 대상

ConfigureAppConfiguration(IHostBuilder, String, String)

Source:
FakeHostingExtensions.cs

구성 값을 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureAppConfiguration(Microsoft::Extensions::Hosting::IHostBuilder ^ builder, System::String ^ key, System::String ^ value);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration (this Microsoft.Extensions.Hosting.IHostBuilder builder, string key, string value);
static member ConfigureAppConfiguration : Microsoft.Extensions.Hosting.IHostBuilder * string * string -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureAppConfiguration (builder As IHostBuilder, key As String, value As String) As IHostBuilder

매개 변수

builder
IHostBuilder

IHostBuilder 인스턴스입니다.

key
String

구성 키입니다.

value
String

구성 값입니다.

반환

IHostBuilder 인스턴스입니다.

적용 대상