Partager via


ImmutableDictionary.CreateBuilder Méthode

Définition

Surcharges

CreateBuilder<TKey,TValue>()

Crée un générateur de dictionnaire immuable.

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

Crée un générateur de dictionnaire immuable.

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

Crée un générateur de dictionnaire immuable.

CreateBuilder<TKey,TValue>()

Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs

Crée un générateur de dictionnaire immuable.

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

Paramètres de type

TKey

Type des clés stockées par le dictionnaire.

TValue

Type des valeurs stockées par le dictionnaire.

Retours

Nouveau générateur.

S’applique à

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

Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs

Crée un générateur de dictionnaire immuable.

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

Paramètres de type

TKey

Type des clés stockées par le dictionnaire.

TValue

Type des valeurs stockées par le dictionnaire.

Paramètres

keyComparer
IEqualityComparer<TKey>

Comparateur de clé.

Retours

Nouveau générateur.

S’applique à

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

Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs

Crée un générateur de dictionnaire immuable.

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

Paramètres de type

TKey

Type des clés stockées par le dictionnaire.

TValue

Type des valeurs stockées par le dictionnaire.

Paramètres

keyComparer
IEqualityComparer<TKey>

Comparateur de clé.

valueComparer
IEqualityComparer<TValue>

Comparateur de valeur.

Retours

Nouveau générateur.

S’applique à