Sdílet prostřednictvím


ITokenizedStringList Rozhraní

Definice

Tokenizovaná reprezentace řetězce do segmentů, které se nepřekrývají a nepřekrývají.

public interface class ITokenizedStringList : System::Collections::Generic::ICollection<System::String ^>, System::Collections::Generic::IEnumerable<System::String ^>, System::Collections::Generic::IList<System::String ^>
public interface ITokenizedStringList : System.Collections.Generic.ICollection<string>, System.Collections.Generic.IEnumerable<string>, System.Collections.Generic.IList<string>
type ITokenizedStringList = interface
    interface IList<string>
    interface ICollection<string>
    interface seq<string>
    interface IEnumerable
Public Interface ITokenizedStringList
Implements ICollection(Of String), IEnumerable(Of String), IList(Of String)
Implementuje

Poznámky

Toto rozhraní implementuje IList, aby jej bylo možné použít s IDifferenceService, který najde rozdíly mezi dvěma sekvencemi reprezentovanými jako ILists.

Vlastnosti

Original

Původní řetězec, který byl tokenizován.

Metody

GetElementInOriginal(Int32)

Mapuje index prvku na jeho rozsah v původním seznamu.

GetSpanInOriginal(Span)

Mapuje rozsah prvků v tomto seznamu na rozsah v původním seznamu.

Metody rozšíření

EmptyIfNull<T>(IEnumerable<T>)

Pokud nemá hodnotu null, vraťte tento výčet. V případě, že je null, vraťte prázdný výčet.

Platí pro