ImmutableSortedDictionary ImmutableSortedDictionary ImmutableSortedDictionary ImmutableSortedDictionary Class

Definition

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)

public ref class ImmutableSortedDictionary abstract sealed
public static class ImmutableSortedDictionary
type ImmutableSortedDictionary = class
Public Module ImmutableSortedDictionary
Inheritance
ImmutableSortedDictionaryImmutableSortedDictionaryImmutableSortedDictionaryImmutableSortedDictionary

Methods

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

Creates an empty immutable sorted dictionary.

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

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

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

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

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

Creates a new immutable sorted dictionary builder.

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

Creates a new immutable sorted dictionary builder.

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

Creates a new immutable sorted dictionary builder.

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

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

CreateRange<TKey,TValue>(IComparer<TKey>, IEnumerable<KeyValuePair<TKey,TValue>>) CreateRange<TKey,TValue>(IComparer<TKey>, IEnumerable<KeyValuePair<TKey,TValue>>) CreateRange<TKey,TValue>(IComparer<TKey>, IEnumerable<KeyValuePair<TKey,TValue>>) CreateRange<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.

CreateRange<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>, IEnumerable<KeyValuePair<TKey,TValue>>) CreateRange<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>, IEnumerable<KeyValuePair<TKey,TValue>>) CreateRange<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>, IEnumerable<KeyValuePair<TKey,TValue>>) CreateRange<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.

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

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

ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>) ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>) ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>) ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>)
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>) ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>) ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>) ToImmutableSortedDictionary<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.

ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>, IEqualityComparer<TValue>) ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>, IEqualityComparer<TValue>) ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>, IEqualityComparer<TValue>) ToImmutableSortedDictionary<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.

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

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>, IComparer<TKey>) 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>, IComparer<TKey>)

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

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>, IEqualityComparer<TValue>) 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>, IEqualityComparer<TValue>)

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

Applies to

Thread Safety

This type is thread safe.