ImmutableHashSet.CreateBuilder Метод

Определение

Перегрузки

Имя Описание
CreateBuilder<T>()

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

CreateBuilder<T>(IEqualityComparer<T>)

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

CreateBuilder<T>()

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

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

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableHashSet<T>::Builder ^ CreateBuilder();
public static System.Collections.Immutable.ImmutableHashSet<T>.Builder CreateBuilder<T>();
static member CreateBuilder : unit -> System.Collections.Immutable.ImmutableHashSet<'T>.Builder
Public Function CreateBuilder(Of T) () As ImmutableHashSet(Of T).Builder

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

T

Тип элементов, хранящихся в коллекции.

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

Неизменяемый построитель хэш-наборов.

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

CreateBuilder<T>(IEqualityComparer<T>)

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

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

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableHashSet<T>::Builder ^ CreateBuilder(System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public static System.Collections.Immutable.ImmutableHashSet<T>.Builder CreateBuilder<T>(System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public static System.Collections.Immutable.ImmutableHashSet<T>.Builder CreateBuilder<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
static member CreateBuilder : System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.ImmutableHashSet<'T>.Builder
Public Function CreateBuilder(Of T) (equalityComparer As IEqualityComparer(Of T)) As ImmutableHashSet(Of T).Builder

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

T

Тип элементов, хранящихся в коллекции.

Параметры

equalityComparer
IEqualityComparer<T>

Объект, используемый для сравнения объектов в наборе для равенства.

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

Новый неизменяемый построитель хэш-наборов.

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