Edytuj

Udostępnij za pośrednictwem


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

Definition

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

public ReadOnlySpanTokenizer (ReadOnlySpan<T> span, T separator);
new Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanTokenizer<'T (requires 'T :> IEquatable<'T>)> : ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> * 'T -> Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanTokenizer<'T (requires 'T :> IEquatable<'T>)>
Public Sub New (span As ReadOnlySpan(Of T), separator As T)

Parameters

span
ReadOnlySpan<T>

The source ReadOnlySpan<T> instance.

separator
T

The separator item to use.

Applies to