ImmutableSortedDictionary.CreateBuilder Yöntem

Tanım

Aşırı Yüklemeler

CreateBuilder<TKey,TValue>()

Yeni bir sabit sıralanabilir sözlük oluşturucusu oluşturur.

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

Yeni bir sabit sıralanabilir sözlük oluşturucusu oluşturur.

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

Yeni bir sabit sıralanabilir sözlük oluşturucusu oluşturur.

CreateBuilder<TKey,TValue>()

Kaynak:
ImmutableSortedDictionary.cs
Kaynak:
ImmutableSortedDictionary.cs
Kaynak:
ImmutableSortedDictionary.cs

Yeni bir sabit sıralanabilir sözlük oluşturucusu oluşturur.

C#
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> ();

Tür Parametreleri

TKey

Sözlük tarafından depolanan anahtarların türü.

TValue

Sözlük tarafından depolanan değerlerin türü.

Döndürülenler

Sabit koleksiyon oluşturucusu.

Şunlara uygulanır

.NET 9 ve diğer sürümler
Ürün Sürümler
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0

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

Kaynak:
ImmutableSortedDictionary.cs
Kaynak:
ImmutableSortedDictionary.cs
Kaynak:
ImmutableSortedDictionary.cs

Yeni bir sabit sıralanabilir sözlük oluşturucusu oluşturur.

C#
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey> keyComparer);
C#
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey>? keyComparer);

Tür Parametreleri

TKey

Sözlük tarafından depolanan anahtarların türü.

TValue

Sözlük tarafından depolanan değerlerin türü.

Parametreler

keyComparer
IComparer<TKey>

Anahtar karşılaştırıcı.

Döndürülenler

Sabit koleksiyon oluşturucusu.

Şunlara uygulanır

.NET 9 ve diğer sürümler
Ürün Sürümler
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0

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

Kaynak:
ImmutableSortedDictionary.cs
Kaynak:
ImmutableSortedDictionary.cs
Kaynak:
ImmutableSortedDictionary.cs

Yeni bir sabit sıralanabilir sözlük oluşturucusu oluşturur.

C#
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
C#
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);

Tür Parametreleri

TKey

Sözlük tarafından depolanan anahtarların türü.

TValue

Sözlük tarafından depolanan değerlerin türü.

Parametreler

keyComparer
IComparer<TKey>

Anahtar karşılaştırıcı.

valueComparer
IEqualityComparer<TValue>

Değer karşılaştırıcısı.

Döndürülenler

Sabit koleksiyon oluşturucusu.

Şunlara uygulanır

.NET 9 ve diğer sürümler
Ürün Sürümler
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0