ImmutableSortedDictionary.CreateBuilder Метод

Определение

Перегрузки

CreateBuilder<TKey,TValue>()

Создает новый построитель неизменяемых отсортированных словарей.

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

Создает новый построитель неизменяемых отсортированных словарей.

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

Создает новый построитель неизменяемых отсортированных словарей.

CreateBuilder<TKey,TValue>()

Исходный код:
ImmutableSortedDictionary.cs
Исходный код:
ImmutableSortedDictionary.cs
Исходный код:
ImmutableSortedDictionary.cs

Создает новый построитель неизменяемых отсортированных словарей.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue>::Builder ^ CreateBuilder();
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> ();
static member CreateBuilder : unit -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder
Public Function CreateBuilder(Of TKey, TValue) () As ImmutableSortedDictionary(Of TKey, TValue).Builder

Параметры типа

TKey

Тип ключей, которые хранятся в словаре.

TValue

Тип значений, которые хранятся в словаре.

Возвращаемое значение

Построитель неизменяемых коллекций.

Применяется к

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

Исходный код:
ImmutableSortedDictionary.cs
Исходный код:
ImmutableSortedDictionary.cs
Исходный код:
ImmutableSortedDictionary.cs

Создает новый построитель неизменяемых отсортированных словарей.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue>::Builder ^ CreateBuilder(System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey> keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey>? keyComparer);
static member CreateBuilder : System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder
Public Function CreateBuilder(Of TKey, TValue) (keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue).Builder

Параметры типа

TKey

Тип ключей, которые хранятся в словаре.

TValue

Тип значений, которые хранятся в словаре.

Параметры

keyComparer
IComparer<TKey>

Функция сравнения ключей.

Возвращаемое значение

Построитель неизменяемых коллекций.

Применяется к

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

Исходный код:
ImmutableSortedDictionary.cs
Исходный код:
ImmutableSortedDictionary.cs
Исходный код:
ImmutableSortedDictionary.cs

Создает новый построитель неизменяемых отсортированных словарей.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue>::Builder ^ CreateBuilder(System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue> (System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
static member CreateBuilder : System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder
Public Function CreateBuilder(Of TKey, TValue) (keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue).Builder

Параметры типа

TKey

Тип ключей, которые хранятся в словаре.

TValue

Тип значений, которые хранятся в словаре.

Параметры

keyComparer
IComparer<TKey>

Функция сравнения ключей.

valueComparer
IEqualityComparer<TValue>

Функция сравнения значений.

Возвращаемое значение

Построитель неизменяемых коллекций.

Применяется к