ImmutableSortedDictionary.ToImmutableSortedDictionary Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>) |
Bir dizi anahtar/değer çiftini numaralandırır ve içeriğinin sabit sıralanmış bir sözlüğünü üretir. |
ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>.Builder) |
Oluşturucunun sözlüğündeki geçerli içeriklerden sabit bir sıralanmış sözlük oluşturur. |
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>) |
Bir dizi anahtar/değer çiftini numaralandırır ve belirtilen anahtar karşılaştırıcıyı kullanarak içeriğinin sabit bir sözlüğünü üretir. |
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>, IEqualityComparer<TValue>) |
Bir dizi anahtar/değer çiftini numaralandırır ve belirtilen anahtar ve değer karşılaştırıcılarını kullanarak içindekilerin sabit sıralı bir sözlüğünü üretir. |
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>) |
Bir diziyi numaralandırır ve dönüştürür ve içeriğinin sabit sıralanmış bir sözlüğünü üretir. |
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>) |
Bir diziyi numaralandırır ve dönüştürür ve belirtilen anahtar karşılaştırıcıyı kullanarak içeriğinin sabit sıralı bir sözlüğünü üretir. |
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>) |
Bir diziyi numaralandırır ve dönüştürür ve belirtilen anahtar ve değer karşılaştırıcılarını kullanarak içeriğinin sabit sıralı bir sözlüğünü üretir. |
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Bir dizi anahtar/değer çiftini numaralandırır ve içeriğinin sabit sıralanmış bir sözlüğünü üretir.
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)
Tür Parametreleri
- TKey
Sözlükteki anahtarların türü.
- TValue
Sözlükteki değerlerin türü.
Parametreler
- source
- IEnumerable<KeyValuePair<TKey,TValue>>
Numaralandıracak anahtar/değer çiftlerinin dizisi.
Döndürülenler
Belirtilen dizideki anahtar/değer çiftlerini içeren sabit sıralanmış sözlük.
Şunlara uygulanır
ToImmutableSortedDictionary<TKey,TValue>(ImmutableSortedDictionary<TKey,TValue>.Builder)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Oluşturucunun sözlüğündeki geçerli içeriklerden sabit bir sıralanmış sözlük oluşturur.
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)
Tür Parametreleri
- TKey
Sözlükteki anahtarların türü.
- TValue
Sözlükteki değerlerin türü.
Parametreler
Sabit sıralanmış sözlüğün oluşturulacağı oluşturucu.
Döndürülenler
Oluşturucu sözlüğündeki geçerli içeriği içeren sabit sıralanmış sözlük.
Şunlara uygulanır
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Bir dizi anahtar/değer çiftini numaralandırır ve belirtilen anahtar karşılaştırıcıyı kullanarak içeriğinin sabit bir sözlüğünü üretir.
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)
Tür Parametreleri
- TKey
Sözlükteki anahtarların türü.
- TValue
Sözlükteki değerlerin türü.
Parametreler
- source
- IEnumerable<KeyValuePair<TKey,TValue>>
Numaralandıracak anahtar/değer çiftlerinin dizisi.
- keyComparer
- IComparer<TKey>
Sabit sözlüğü oluştururken kullanılacak anahtar karşılaştırıcı.
Döndürülenler
Belirtilen dizideki anahtar/değer çiftlerini içeren sabit sıralanmış sözlük.
Şunlara uygulanır
ToImmutableSortedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IComparer<TKey>, IEqualityComparer<TValue>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Bir dizi anahtar/değer çiftini numaralandırır ve belirtilen anahtar ve değer karşılaştırıcılarını kullanarak içindekilerin sabit sıralı bir sözlüğünü üretir.
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)
Tür Parametreleri
- TKey
Sözlükteki anahtarların türü.
- TValue
Sözlükteki değerlerin türü.
Parametreler
- source
- IEnumerable<KeyValuePair<TKey,TValue>>
Numaralandıracak anahtar/değer çiftlerinin dizisi.
- keyComparer
- IComparer<TKey>
Sabit sözlüğü oluştururken kullanılacak anahtar karşılaştırıcı.
- valueComparer
- IEqualityComparer<TValue>
Sabit sözlük için kullanılacak değer karşılaştırıcısı.
Döndürülenler
Belirtilen dizideki anahtar/değer çiftlerini içeren sabit sıralanmış sözlük.
Şunlara uygulanır
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Bir diziyi numaralandırır ve dönüştürür ve içeriğinin sabit sıralanmış bir sözlüğünü üretir.
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)
Tür Parametreleri
- TSource
Dizideki öğelerin türü.
- TKey
Sonuçta elde edilen sözlükteki anahtarların türü.
- TValue
Sonuçta elde edilen sözlükteki değerlerin türü.
Parametreler
- source
- IEnumerable<TSource>
Sözlüğü oluşturmak için numaralandıracak sıra.
- keySelector
- Func<TSource,TKey>
Her dizi öğesinden sözlüğün anahtarını üretecek işlev.
- elementSelector
- Func<TSource,TValue>
Her dizi öğesinden sözlük değerini üretecek işlev.
Döndürülenler
Belirtilen dizideki öğeleri içeren sabit bir sıralanmış sözlük.
Şunlara uygulanır
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Bir diziyi numaralandırır ve dönüştürür ve belirtilen anahtar karşılaştırıcıyı kullanarak içeriğinin sabit sıralı bir sözlüğünü üretir.
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)
Tür Parametreleri
- TSource
Dizideki öğelerin türü.
- TKey
Sonuçta elde edilen sözlükteki anahtarların türü.
- TValue
Sonuçta elde edilen sözlükteki değerlerin türü.
Parametreler
- source
- IEnumerable<TSource>
Sözlüğü oluşturmak için numaralandıracak sıra.
- keySelector
- Func<TSource,TKey>
Her dizi öğesinden sözlüğün anahtarını üretecek işlev.
- elementSelector
- Func<TSource,TValue>
Her dizi öğesinden sözlük değerini üretecek işlev.
- keyComparer
- IComparer<TKey>
Sözlük için kullanılacak anahtar karşılaştırıcı.
Döndürülenler
Belirtilen dizideki öğeleri içeren sabit bir sözlük.
Şunlara uygulanır
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Bir diziyi numaralandırır ve dönüştürür ve belirtilen anahtar ve değer karşılaştırıcılarını kullanarak içeriğinin sabit sıralı bir sözlüğünü üretir.
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)
Tür Parametreleri
- TSource
Dizideki öğelerin türü.
- TKey
Sonuçta elde edilen sözlükteki anahtarların türü.
- TValue
Sonuçta elde edilen sözlükteki değerlerin türü.
Parametreler
- source
- IEnumerable<TSource>
Sözlüğü oluşturmak için numaralandıracak sıra.
- keySelector
- Func<TSource,TKey>
Her dizi öğesinden sözlüğün anahtarını üretecek işlev.
- elementSelector
- Func<TSource,TValue>
Her dizi öğesinden sözlük değerini üretecek işlev.
- keyComparer
- IComparer<TKey>
Sözlük için kullanılacak anahtar karşılaştırıcı.
- valueComparer
- IEqualityComparer<TValue>
Sözlük için kullanılacak değer karşılaştırıcı.
Döndürülenler
Belirtilen dizideki öğeleri içeren sabit bir sıralanmış sözlük.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin