ImmutableSortedDictionary.ToImmutableSortedDictionary Metoda

Definicja

Przeciążenia

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

Wylicza sekwencję par klucz/wartość i tworzy niezmienny posortowany słownik jego zawartości.

ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>.Builder)

Tworzy niezmienialny słownik posortowany na podstawie bieżącej zawartości słownika konstruktora.

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

Wylicza sekwencję par klucz/wartość i tworzy niezmienny słownik jego zawartości przy użyciu określonego modułu porównywania kluczy.

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

Wylicza sekwencję par klucz/wartość i tworzy niezmienny posortowany słownik jego zawartości przy użyciu określonych porównań kluczy i wartości.

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

Wylicza i przekształca sekwencję i tworzy niezmienny posortowany słownik jego zawartości.

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

Wylicza i przekształca sekwencję i tworzy niezmienny posortowany słownik jego zawartości przy użyciu określonego modułu porównywania kluczy.

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

Wylicza i przekształca sekwencję i tworzy niezmienny posortowany słownik jego zawartości przy użyciu określonych porównań kluczy i wartości.

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

Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs

Wylicza sekwencję par klucz/wartość i tworzy niezmienny posortowany słownik jego zawartości.

public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ source);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue> (this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source);
static member ToImmutableSortedDictionary : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TKey, TValue) (source As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)

Parametry typu

TKey

Typ kluczy w słowniku.

TValue

Typ wartości w słowniku.

Parametry

source
IEnumerable<KeyValuePair<TKey,TValue>>

Sekwencja par klucz/wartość do wyliczenia.

Zwraca

Niezmienny słownik posortowany zawierający pary klucz/wartość w określonej sekwencji.

Dotyczy

ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>.Builder)

Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs

Tworzy niezmienialny słownik posortowany na podstawie bieżącej zawartości słownika konstruktora.

public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue>::Builder ^ builder);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue> (this System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder builder);
static member ToImmutableSortedDictionary : System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TKey, TValue) (builder As ImmutableSortedDictionary(Of TKey, TValue).Builder) As ImmutableSortedDictionary(Of TKey, TValue)

Parametry typu

TKey

Typ kluczy w słowniku.

TValue

Typ wartości w słowniku.

Parametry

builder
ImmutableSortedDictionary<TKey,TValue>.Builder

Konstruktor umożliwiający utworzenie niezmiennego słownika posortowanego.

Zwraca

Niezmienialny słownik posortowany zawierający bieżącą zawartość w słowniku konstruktora.

Dotyczy

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

Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs

Wylicza sekwencję par klucz/wartość i tworzy niezmienny słownik jego zawartości przy użyciu określonego modułu porównywania kluczy.

public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ source, System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue> (this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source, System.Collections.Generic.IComparer<TKey> keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue> (this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source, System.Collections.Generic.IComparer<TKey>? keyComparer);
static member ToImmutableSortedDictionary : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> * System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TKey, TValue) (source As IEnumerable(Of KeyValuePair(Of TKey, TValue)), keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue)

Parametry typu

TKey

Typ kluczy w słowniku.

TValue

Typ wartości w słowniku.

Parametry

source
IEnumerable<KeyValuePair<TKey,TValue>>

Sekwencja par klucz/wartość do wyliczenia.

keyComparer
IComparer<TKey>

Moduł porównywania kluczy używany podczas kompilowania niezmiennego słownika.

Zwraca

Niezmienny słownik posortowany zawierający pary klucz/wartość w określonej sekwencji.

Dotyczy

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

Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs

Wylicza sekwencję par klucz/wartość i tworzy niezmienny posortowany słownik jego zawartości przy użyciu określonych porównań kluczy i wartości.

public:
generic <typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ source, System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue> (this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source, System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TKey,TValue> (this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> source, System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
static member ToImmutableSortedDictionary : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> * System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TKey, TValue) (source As IEnumerable(Of KeyValuePair(Of TKey, TValue)), keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue)

Parametry typu

TKey

Typ kluczy w słowniku.

TValue

Typ wartości w słowniku.

Parametry

source
IEnumerable<KeyValuePair<TKey,TValue>>

Sekwencja par klucz/wartość do wyliczenia.

keyComparer
IComparer<TKey>

Moduł porównywania kluczy używany podczas kompilowania niezmiennego słownika.

valueComparer
IEqualityComparer<TValue>

Porównanie wartości do użycia w słowniku niezmiennym.

Zwraca

Niezmienny słownik posortowany zawierający pary klucz/wartość w określonej sekwencji.

Dotyczy

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

Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs

Wylicza i przekształca sekwencję i tworzy niezmienny posortowany słownik jego zawartości.

public:
generic <typename TSource, typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<TSource> ^ source, Func<TSource, TKey> ^ keySelector, Func<TSource, TValue> ^ elementSelector);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue> (this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector);
static member ToImmutableSortedDictionary : seq<'Source> * Func<'Source, 'Key> * Func<'Source, 'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TSource, TKey, TValue) (source As IEnumerable(Of TSource), keySelector As Func(Of TSource, TKey), elementSelector As Func(Of TSource, TValue)) As ImmutableSortedDictionary(Of TKey, TValue)

Parametry typu

TSource

Typ elementów w sekwencji.

TKey

Typ kluczy w wynikowym słowniku.

TValue

Typ wartości w wynikowym słowniku.

Parametry

source
IEnumerable<TSource>

Sekwencja do wyliczenia w celu wygenerowania słownika.

keySelector
Func<TSource,TKey>

Funkcja, która będzie generować klucz dla słownika z każdego elementu sekwencji.

elementSelector
Func<TSource,TValue>

Funkcja, która będzie generować wartość słownika z każdego elementu sekwencji.

Zwraca

Niezmienialny słownik posortowany zawierający elementy w określonej sekwencji.

Dotyczy

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

Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs

Wylicza i przekształca sekwencję i tworzy niezmienny posortowany słownik jego zawartości przy użyciu określonego modułu porównywania kluczy.

public:
generic <typename TSource, typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<TSource> ^ source, Func<TSource, TKey> ^ keySelector, Func<TSource, TValue> ^ elementSelector, System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue> (this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector, System.Collections.Generic.IComparer<TKey> keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue> (this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector, System.Collections.Generic.IComparer<TKey>? keyComparer);
static member ToImmutableSortedDictionary : seq<'Source> * Func<'Source, 'Key> * Func<'Source, 'Value> * System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TSource, TKey, TValue) (source As IEnumerable(Of TSource), keySelector As Func(Of TSource, TKey), elementSelector As Func(Of TSource, TValue), keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue)

Parametry typu

TSource

Typ elementów w sekwencji.

TKey

Typ kluczy w wynikowym słowniku.

TValue

Typ wartości w wynikowym słowniku.

Parametry

source
IEnumerable<TSource>

Sekwencja do wyliczenia w celu wygenerowania słownika.

keySelector
Func<TSource,TKey>

Funkcja, która będzie generować klucz dla słownika z każdego elementu sekwencji.

elementSelector
Func<TSource,TValue>

Funkcja, która będzie generować wartość słownika z każdego elementu sekwencji.

keyComparer
IComparer<TKey>

Moduł porównujący klucz do użycia w słowniku.

Zwraca

Niezmienny słownik zawierający elementy w określonej sekwencji.

Dotyczy

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

Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs
Źródło:
ImmutableSortedDictionary.cs

Wylicza i przekształca sekwencję i tworzy niezmienny posortowany słownik jego zawartości przy użyciu określonych porównań kluczy i wartości.

public:
generic <typename TSource, typename TKey, typename TValue>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ ToImmutableSortedDictionary(System::Collections::Generic::IEnumerable<TSource> ^ source, Func<TSource, TKey> ^ keySelector, Func<TSource, TValue> ^ elementSelector, System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue> (this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector, System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> ToImmutableSortedDictionary<TSource,TKey,TValue> (this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,TKey> keySelector, Func<TSource,TValue> elementSelector, System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
static member ToImmutableSortedDictionary : seq<'Source> * Func<'Source, 'Key> * Func<'Source, 'Value> * System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
<Extension()>
Public Function ToImmutableSortedDictionary(Of TSource, TKey, TValue) (source As IEnumerable(Of TSource), keySelector As Func(Of TSource, TKey), elementSelector As Func(Of TSource, TValue), keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue)

Parametry typu

TSource

Typ elementów w sekwencji.

TKey

Typ kluczy w wynikowym słowniku.

TValue

Typ wartości w wynikowym słowniku.

Parametry

source
IEnumerable<TSource>

Sekwencja do wyliczenia w celu wygenerowania słownika.

keySelector
Func<TSource,TKey>

Funkcja, która będzie generować klucz dla słownika z każdego elementu sekwencji.

elementSelector
Func<TSource,TValue>

Funkcja, która będzie generować wartość słownika z każdego elementu sekwencji.

keyComparer
IComparer<TKey>

Moduł porównujący klucz do użycia w słowniku.

valueComparer
IEqualityComparer<TValue>

Porównanie wartości do użycia w słowniku.

Zwraca

Niezmienialny słownik posortowany zawierający elementy w określonej sekwencji.

Dotyczy