MemoryConfigurationProvider 클래스

정의

메모리에서 가져온 구성 키-값 쌍을 제공합니다.

public ref class MemoryConfigurationProvider : Microsoft::Extensions::Configuration::ConfigurationProvider, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>>
public class MemoryConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>
type MemoryConfigurationProvider = class
    inherit ConfigurationProvider
    interface seq<KeyValuePair<string, string>>
    interface IEnumerable
Public Class MemoryConfigurationProvider
Inherits ConfigurationProvider
Implements IEnumerable(Of KeyValuePair(Of String, String))
상속
MemoryConfigurationProvider
구현

설명

자세한 내용 및 예제는 메모리 구성 공급자를 참조하세요.

생성자

Name Description
MemoryConfigurationProvider(MemoryConfigurationSource)

원본에서 새 인스턴스를 초기화합니다.

속성

Name Description
Data

이 공급자에 대한 구성 키-값 쌍을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationProvider)

메서드

Name Description
Add(String, String)

새 키-값 쌍을 추가합니다.

GetChildKeys(IEnumerable<String>, String)

이 공급자가 가지고 있는 키 목록을 반환합니다.

(다음에서 상속됨 ConfigurationProvider)
GetEnumerator()

컬렉션을 반복하는 열거자를 반환합니다.

GetReloadToken()

이 공급자가 IChangeToken 다시 로드될 때 수신 대기하는 데 사용할 수 있는 값을 반환합니다.

(다음에서 상속됨 ConfigurationProvider)
Load()

이 공급자에 대한 데이터를 로드하거나 다시 로드합니다.

(다음에서 상속됨 ConfigurationProvider)
OnReload()

변경 토큰 다시 로드를 트리거하고 새 토큰을 만듭니다.

(다음에서 상속됨 ConfigurationProvider)
Set(String, String)

지정된 키에 대한 값을 설정합니다.

(다음에서 상속됨 ConfigurationProvider)
ToString()

이 공급자 이름과 관련 세부 정보를 나타내는 문자열을 생성합니다.

(다음에서 상속됨 ConfigurationProvider)
TryGet(String, String)

지정된 키를 사용하여 값을 찾으려고 시도합니다.

(다음에서 상속됨 ConfigurationProvider)

명시적 인터페이스 구현

Name Description
IEnumerable.GetEnumerator()

컬렉션을 반복하는 열거자를 반환합니다.

확장명 메서드

Name Description
ToAsyncEnumerable<TSource>(IEnumerable<TSource>)

IEnumerable<T> IAsyncEnumerable<T>변환합니다.

ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

지정된 키 선택기 및 요소 선택기 함수에 따라 FrozenDictionary<TKey,TValue>IEnumerable<T> 만듭니다.

ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

FrozenDictionary<TKey,TValue> 지정된 키 선택기 함수에 IEnumerable<T> 따라 해당 키 선택기 함수에서 a를 만듭니다.

ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)

지정된 값을 사용하여 만듭니 FrozenSet<T> 다.

ToImmutableArray<TSource>(IEnumerable<TSource>)

지정된 컬렉션에서 변경할 수 없는 배열을 만듭니다.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)

시퀀스를 열거 및 변환하고 지정된 키 및 값 비교자를 사용하여 해당 내용의 변경할 수 없는 사전을 생성합니다.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>)

시퀀스를 열거 및 변환하고 지정된 키 비교자를 사용하여 해당 내용의 변경할 수 없는 사전을 생성합니다.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

시퀀스를 열거 및 변환하고 해당 내용의 변경할 수 없는 사전을 생성합니다.

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

시퀀스의 일부 변환을 기반으로 변경할 수 없는 사전을 생성합니다.

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

원본 키에 변환 함수를 적용하여 기존 요소 컬렉션에서 변경할 수 없는 사전을 생성합니다.

ToImmutableHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

시퀀스를 열거하고, 해당 내용의 변경할 수 없는 해시 집합을 생성하며, 집합 형식에 대해 지정된 같음 비교자를 사용합니다.

ToImmutableHashSet<TSource>(IEnumerable<TSource>)

시퀀스를 열거하고 해당 내용의 변경할 수 없는 해시 집합을 생성합니다.

ToImmutableList<TSource>(IEnumerable<TSource>)

시퀀스를 열거하고 해당 내용의 변경할 수 없는 목록을 생성합니다.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)

시퀀스를 열거 및 변환하고 지정된 키 및 값 비교자를 사용하여 해당 내용의 변경할 수 없는 정렬된 사전을 생성합니다.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)

시퀀스를 열거 및 변환하고 지정된 키 비교자를 사용하여 변경 불가능한 정렬된 해당 내용 사전을 생성합니다.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

시퀀스를 열거 및 변환하고 해당 내용의 변경할 수 없는 정렬된 사전을 생성합니다.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

시퀀스를 열거하고, 변경할 수 없는 정렬된 콘텐츠 집합을 생성하고, 지정된 비교자를 사용합니다.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

시퀀스를 열거하고 변경할 수 없는 정렬된 콘텐츠 집합을 생성합니다.

적용 대상