ImmutableSortedSet.ToImmutableSortedSet Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Túlterhelések
| Name | Description |
|---|---|
| ToImmutableSortedSet<TSource>(IEnumerable<TSource>) |
Számba ad egy sorozatot, és megváltoztathatatlan rendezésű halmazt hoz létre annak tartalmából. |
| ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder) |
Módosíthatatlan rendezési csoportot hoz létre a szerkesztőkészlet aktuális tartalmából. |
| ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) |
Számba veszi a sorozatot, megváltoztathatatlan rendezési halmazt hoz létre, és a megadott összehasonlítót használja. |
ToImmutableSortedSet<TSource>(IEnumerable<TSource>)
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
Számba ad egy sorozatot, és megváltoztathatatlan rendezésű halmazt hoz létre annak tartalmából.
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)
Típusparaméterek
- TSource
A sorozat elemeinek típusa.
Paraméterek
- source
- IEnumerable<TSource>
Az enumerálni kívánt sorozat.
Válaszok
Nem módosítható rendezhető készlet, amely a megadott sorozat elemeit tartalmazza.
A következőre érvényes:
ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder)
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
Módosíthatatlan rendezési csoportot hoz létre a szerkesztőkészlet aktuális tartalmából.
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)
Típusparaméterek
- TSource
A nem módosítható rendezhető halmaz elemeinek típusa.
Paraméterek
- builder
- ImmutableSortedSet<TSource>.Builder
Az a szerkesztő, amelyből létrehozható a nem módosítható rendezhető készlet.
Válaszok
Nem módosítható rendezhető készlet, amely a szerkesztőkészlet aktuális tartalmát tartalmazza.
A következőre érvényes:
ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
- Forrás:
- ImmutableSortedSet.cs
Számba veszi a sorozatot, megváltoztathatatlan rendezési halmazt hoz létre, és a megadott összehasonlítót használja.
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)
Típusparaméterek
- TSource
A sorozat elemeinek típusa.
Paraméterek
- source
- IEnumerable<TSource>
Az enumerálni kívánt sorozat.
- comparer
- IComparer<TSource>
A tagok inicializálásához és a rendezett csoporthoz való hozzáadásához használandó összehasonlító.
Válaszok
Nem módosítható rendezhető készlet, amely a megadott sorozat elemeit tartalmazza.