SpanTokenizer<T> Struct

Definition

A refstruct that tokenizes a given Span<T> instance.

C#
public ref struct SpanTokenizer<T> where T : IEquatable<T>

Type Parameters

T

The type of items to enumerate.

Inheritance
SpanTokenizer<T>

Constructors

SpanTokenizer<T>(Span<T>, T)

Initializes a new instance of the SpanTokenizer<T> struct.

Properties

Current

Gets the duck-typed Current property.

Methods

GetEnumerator()

Implements the duck-typed GetEnumerator() method.

MoveNext()

Implements the duck-typed MoveNext() method.

Applies to

Produit Versions
Windows Community Toolkit 6.1.1, 7.0.0, 7.1.0