ImmutableSortedSet.ToImmutableSortedSet Metoda

Definicja

Przeciążenia

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

Wylicza sekwencję i tworzy niezmienialny zestaw posortowany jego zawartości.

ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder)

Tworzy niezmienialny zestaw posortowany na podstawie bieżącej zawartości zestawu konstruktora.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

Wylicza sekwencję, tworzy niezmienialny zestaw posortowany jego zawartości i używa określonego porównania.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

Źródło:
ImmutableSortedSet.cs
Źródło:
ImmutableSortedSet.cs
Źródło:
ImmutableSortedSet.cs

Wylicza sekwencję i tworzy niezmienialny zestaw posortowany jego zawartości.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Generic::IEnumerable<TSource> ^ source);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source);
static member ToImmutableSortedSet : seq<'Source> -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (source As IEnumerable(Of TSource)) As ImmutableSortedSet(Of TSource)

Parametry typu

TSource

Typ elementów w sekwencji.

Parametry

source
IEnumerable<TSource>

Sekwencja do wyliczenia.

Zwraca

Niezmienialny zestaw posortowany zawierający elementy w określonej sekwencji.

Dotyczy

ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder)

Źródło:
ImmutableSortedSet.cs
Źródło:
ImmutableSortedSet.cs
Źródło:
ImmutableSortedSet.cs

Tworzy niezmienialny zestaw posortowany na podstawie bieżącej zawartości zestawu konstruktora.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Immutable::ImmutableSortedSet<TSource>::Builder ^ builder);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Immutable.ImmutableSortedSet<TSource>.Builder builder);
static member ToImmutableSortedSet : System.Collections.Immutable.ImmutableSortedSet<'Source>.Builder -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (builder As ImmutableSortedSet(Of TSource).Builder) As ImmutableSortedSet(Of TSource)

Parametry typu

TSource

Typ elementów w niezmienialnym zestawie posortowanych.

Parametry

builder
ImmutableSortedSet<TSource>.Builder

Konstruktor tworzy niezmienny zestaw posortowany na podstawie.

Zwraca

Niezmienialny zestaw posortowany zawierający bieżącą zawartość w zestawie konstruktora.

Dotyczy

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

Źródło:
ImmutableSortedSet.cs
Źródło:
ImmutableSortedSet.cs
Źródło:
ImmutableSortedSet.cs

Wylicza sekwencję, tworzy niezmienialny zestaw posortowany jego zawartości i używa określonego porównania.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Generic::IEnumerable<TSource> ^ source, System::Collections::Generic::IComparer<TSource> ^ comparer);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IComparer<TSource> comparer);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IComparer<TSource>? comparer);
static member ToImmutableSortedSet : seq<'Source> * System.Collections.Generic.IComparer<'Source> -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (source As IEnumerable(Of TSource), comparer As IComparer(Of TSource)) As ImmutableSortedSet(Of TSource)

Parametry typu

TSource

Typ elementów w sekwencji.

Parametry

source
IEnumerable<TSource>

Sekwencja do wyliczenia.

comparer
IComparer<TSource>

Moduł porównujący używany do inicjowania i dodawania elementów członkowskich do posortowanego zestawu.

Zwraca

Niezmienialny zestaw posortowany zawierający elementy w określonej sekwencji.

Dotyczy