Nyelv

ContainerSpan Osztály

Definíció

public ref class ContainerSpan : System::CommandLine::Rendering::TextSpan, System::Collections::Generic::IEnumerable<System::CommandLine::Rendering::TextSpan ^>, System::Collections::Generic::IReadOnlyCollection<System::CommandLine::Rendering::TextSpan ^>, System::Collections::Generic::IReadOnlyList<System::CommandLine::Rendering::TextSpan ^>
public class ContainerSpan : System.CommandLine.Rendering.TextSpan, System.Collections.Generic.IEnumerable<System.CommandLine.Rendering.TextSpan>, System.Collections.Generic.IReadOnlyCollection<System.CommandLine.Rendering.TextSpan>, System.Collections.Generic.IReadOnlyList<System.CommandLine.Rendering.TextSpan>
type ContainerSpan = class
    inherit TextSpan
    interface IReadOnlyList<TextSpan>
    interface seq<TextSpan>
    interface IEnumerable
    interface IReadOnlyCollection<TextSpan>
Public Class ContainerSpan
Inherits TextSpan
Implements IEnumerable(Of TextSpan), IReadOnlyCollection(Of TextSpan), IReadOnlyList(Of TextSpan)
Öröklődés
ContainerSpan
Megvalósítás

Konstruktorok

Név Description
ContainerSpan(TextSpan[])

Tulajdonságok

Név Description
ContentLength
Count
End (Öröklődés forrása TextSpan)
Item[Int32]
Parent (Öröklődés forrása TextSpan)
Root (Öröklődés forrása TextSpan)
Start (Öröklődés forrása TextSpan)

Metódusok

Név Description
Add(String)
Add(TextSpan)
GetEnumerator()
ToString() (Öröklődés forrása TextSpan)
ToString(OutputMode) (Öröklődés forrása TextSpan)
WriteTo(TextWriter, OutputMode)

Explicit interfész-implementációk

Név Description
IEnumerable.GetEnumerator()

Bővítő metódusok

Név Description
ToAsyncEnumerable<TSource>(IEnumerable<TSource>)

Átalakítja az egyiket IEnumerable<T>IAsyncEnumerable<T>.

ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

Létrehoz egy FrozenDictionary<TKey,TValue>IEnumerable<T> megadott kulcsválasztó és elemválasztó függvény alapján.

ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

Létrehoz egy FrozenDictionary<TKey,TValue> megadott kulcsválasztó függvényt IEnumerable<T> .

ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)

Létrehoz egy FrozenSet<T> értéket a megadott értékekkel.

ToImmutableArray<TSource>(IEnumerable<TSource>)

Módosíthatatlan tömböt hoz létre a megadott gyűjteményből.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)

Számba és átalakít egy sorozatot, és a megadott kulcs- és érték-összehasonlítók használatával módosíthatatlan szótárt hoz létre a tartalmából.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>)

Számba és átalakít egy sorozatot, és a megadott kulcs-összehasonlító használatával módosíthatatlan szótárt hoz létre a tartalmából.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

Számbavétele és átalakítása egy sorozat, és létrehoz egy nem módosítható szótár a tartalmát.

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

Egy szekvencia valamilyen átalakításán alapuló nem módosítható szótárt hoz létre.

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

Egy nem módosítható szótárat hoz létre egy meglévő elemgyűjteményből, amely egy átalakítási függvényt alkalmaz a forráskulcsokra.

ToImmutableHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

Számba veszi a sorozatot, módosíthatatlan kivonatkészletet hoz létre a tartalmából, és a megadott egyenlőség-összehasonlítót használja a készlettípushoz.

ToImmutableHashSet<TSource>(IEnumerable<TSource>)

Számba ad egy sorozatot, és a tartalma nem módosítható kivonatkészletet hoz létre.

ToImmutableList<TSource>(IEnumerable<TSource>)

Számba ad egy sorozatot, és megváltoztathatatlan listát hoz létre annak tartalmáról.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)

Számba és átalakít egy sorozatot, és a megadott kulcs- és érték-összehasonlítók használatával módosíthatatlan rendezési szótárt hoz létre a tartalmaiból.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)

Számbavesz és átalakít egy sorozatot, és a megadott kulcs-összehasonlító használatával módosíthatatlan rendezési szótárt hoz létre a tartalmaiból.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

Számbavétele és átalakítása egy sorozat, és létrehoz egy nem módosítható rendezett szótár a tartalmát.

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>)

Számba ad egy sorozatot, és megváltoztathatatlan rendezésű halmazt hoz létre annak tartalmából.

A következőre érvényes: