다음을 통해 공유


ConfigurationExtensions.AsEnumerable 메서드

정의

오버로드

AsEnumerable(IConfiguration)

내에서 키-값 쌍의 열거형을 가져옵니다 IConfiguration.

AsEnumerable(IConfiguration, Boolean)

내에서 키-값 쌍의 열거형을 가져옵니다 IConfiguration.

AsEnumerable(IConfiguration)

Source:
ConfigurationExtensions.cs
Source:
ConfigurationExtensions.cs
Source:
ConfigurationExtensions.cs
Source:
ConfigurationExtensions.cs

내에서 키-값 쌍의 열거형을 가져옵니다 IConfiguration.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ AsEnumerable(Microsoft::Extensions::Configuration::IConfiguration ^ configuration);
public static System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>> AsEnumerable (this Microsoft.Extensions.Configuration.IConfiguration configuration);
static member AsEnumerable : Microsoft.Extensions.Configuration.IConfiguration -> seq<System.Collections.Generic.KeyValuePair<string, string>>
<Extension()>
Public Function AsEnumerable (configuration As IConfiguration) As IEnumerable(Of KeyValuePair(Of String, String))

매개 변수

configuration
IConfiguration

열거할 IConfiguration입니다.

반환

키-값 쌍의 열거형입니다.

적용 대상

AsEnumerable(IConfiguration, Boolean)

Source:
ConfigurationExtensions.cs
Source:
ConfigurationExtensions.cs
Source:
ConfigurationExtensions.cs
Source:
ConfigurationExtensions.cs

내에서 키-값 쌍의 열거형을 가져옵니다 IConfiguration.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ AsEnumerable(Microsoft::Extensions::Configuration::IConfiguration ^ configuration, bool makePathsRelative);
public static System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>> AsEnumerable (this Microsoft.Extensions.Configuration.IConfiguration configuration, bool makePathsRelative);
static member AsEnumerable : Microsoft.Extensions.Configuration.IConfiguration * bool -> seq<System.Collections.Generic.KeyValuePair<string, string>>
<Extension()>
Public Iterator Function AsEnumerable (configuration As IConfiguration, makePathsRelative As Boolean) As IEnumerable(Of KeyValuePair(Of String, String))

매개 변수

configuration
IConfiguration

열거할 IConfiguration입니다.

makePathsRelative
Boolean

true 반환된 자식 키에서 현재 구성의 경로를 자르려면 이고, 그렇지 않으면 입니다 false.

반환

키-값 쌍의 열거형입니다.

적용 대상