Edytuj

Udostępnij za pośrednictwem


ReadOnlySpanTokenizer<T> Struct

Definition

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

public ref struct ReadOnlySpanTokenizer<T> where T : IEquatable<T>
type ReadOnlySpanTokenizer<'T (requires 'T :> IEquatable<'T>)> = struct
Public Structure ReadOnlySpanTokenizer(Of T)

Type Parameters

T

The type of items to enumerate.

Inheritance
ReadOnlySpanTokenizer<T>

Constructors

ReadOnlySpanTokenizer<T>(ReadOnlySpan<T>, T)

Initializes a new instance of the ReadOnlySpanTokenizer<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