ImmutableDictionary 클래스

정의

ImmutableDictionary<TKey,TValue> 클래스의 인스턴스에 대한 초기화 메서드 집합을 제공합니다.

NuGet 패키지: System.Collections.Immutable (변경할 수 없는 컬렉션 정보 및 설치 방법)

public ref class ImmutableDictionary abstract sealed
public static class ImmutableDictionary
type ImmutableDictionary = class
Public Module ImmutableDictionary
상속
ImmutableDictionary

메서드

Contains<TKey,TValue>(IImmutableDictionary<TKey,TValue>, TKey, TValue)

변경할 수 없는 지정된 사전에 지정된 키/값 쌍이 들어 있는지 여부를 확인합니다.

Create<TKey,TValue>()

변경할 수 없는 빈 사전을 만듭니다.

Create<TKey,TValue>(IEqualityComparer<TKey>)

지정된 키 비교자를 사용하는 변경할 수 없는 빈 사전을 만듭니다.

Create<TKey,TValue>(IEqualityComparer<TKey>, IEqualityComparer<TValue>)

지정된 키 및 값 비교자를 사용하는 변경할 수 없는 빈 사전을 만듭니다.

CreateBuilder<TKey,TValue>()

변경할 수 없는 새 사전 작성기를 만듭니다.

CreateBuilder<TKey,TValue>(IEqualityComparer<TKey>)

변경할 수 없는 새 사전 작성기를 만듭니다.

CreateBuilder<TKey,TValue>(IEqualityComparer<TKey>, IEqualityComparer<TValue>)

변경할 수 없는 새 사전 작성기를 만듭니다.

CreateRange<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>)

지정된 항목이 포함된 변경할 수 없는 새 사전을 만듭니다.

CreateRange<TKey,TValue>(IEqualityComparer<TKey>, IEnumerable<KeyValuePair<TKey,TValue>>)

지정된 항목을 포함하고 지정된 키 비교자를 사용하는 변경할 수 없는 새 사전을 만듭니다.

CreateRange<TKey,TValue>(IEqualityComparer<TKey>, IEqualityComparer<TValue>, IEnumerable<KeyValuePair<TKey,TValue>>)

지정된 항목을 포함하고 지정된 키 비교자를 사용하는 변경할 수 없는 새 사전을 만듭니다.

GetValueOrDefault<TKey,TValue>(IImmutableDictionary<TKey,TValue>, TKey)

일치하는 키가 사전에 있는 경우 지정된 키의 값을 가져옵니다.

GetValueOrDefault<TKey,TValue>(IImmutableDictionary<TKey,TValue>, TKey, TValue)

일치하는 키가 사전에 있는 경우 지정된 키의 값을 가져옵니다.

ToImmutableDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>)

키/값 쌍의 시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 사전을 생성합니다.

ToImmutableDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IEqualityComparer<TKey>)

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

ToImmutableDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)

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

ToImmutableDictionary<TKey,TValue>(ImmutableDictionary<TKey,TValue>.Builder)

작성기 사전의 현재 콘텐츠에서 변경할 수 없는 사전을 만듭니다.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,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>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)

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

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

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

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

시퀀스의 일부 변환에 따라 변경할 수 없는 사전을 생성합니다.

적용 대상

스레드 보안

이 형식은 스레드로부터 안전합니다.