ImmutableSortedDictionary Class

 

Provides a set of initialization methods for instances of the ImmutableSortedDictionary<TKey, TValue> class.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

System.Object
  System.Collections.Immutable.ImmutableSortedDictionary

public static class ImmutableSortedDictionary

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate<TKey, TValue>()

Creates an empty immutable sorted dictionary.

System_CAPS_pubmethodSystem_CAPS_staticCreate<TKey, TValue>(IComparer<TKey>)

Creates an empty immutable sorted dictionary that uses the specified key comparer.

System_CAPS_pubmethodSystem_CAPS_staticCreate<TKey, TValue>(IComparer<TKey>, IEqualityComparer<TValue>)

Creates an empty immutable sorted dictionary that uses the specified key and value comparers.

System_CAPS_pubmethodSystem_CAPS_staticCreateBuilder<TKey, TValue>()

Creates a new immutable sorted dictionary builder.

System_CAPS_pubmethodSystem_CAPS_staticCreateBuilder<TKey, TValue>(IComparer<TKey>)

Creates a new immutable sorted dictionary builder.

System_CAPS_pubmethodSystem_CAPS_staticCreateBuilder<TKey, TValue>(IComparer<TKey>, IEqualityComparer<TValue>)

Creates a new immutable sorted dictionary builder.

System_CAPS_pubmethodSystem_CAPS_staticCreateRange<TKey, TValue>(IComparer<TKey>, IEnumerable<KeyValuePair<TKey, TValue>>)

Creates a new immutable sorted dictionary from the specified range of items with the specified key comparer.

System_CAPS_pubmethodSystem_CAPS_staticCreateRange<TKey, TValue>(IComparer<TKey>, IEqualityComparer<TValue>, IEnumerable<KeyValuePair<TKey, TValue>>)

Creates a new immutable sorted dictionary from the specified range of items with the specified key and value comparers.

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

Creates an immutable sorted dictionary that contains the specified items and uses the default comparer.

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

Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents.

System_CAPS_pubmethodSystem_CAPS_staticToImmutableSortedDictionary<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>, IComparer<TKey>)

Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.

System_CAPS_pubmethodSystem_CAPS_staticToImmutableSortedDictionary<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>, IComparer<TKey>, IEqualityComparer<TValue>)

Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.

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

Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents.

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

Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer.

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

Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.

This type is thread safe.

Return to top
Show: