Edit

Share via


MemoryExtensions.SpanSplitEnumerator<T> Struct

Definition

Enables enumerating each split within a ReadOnlySpan<T> that has been divided using one or more separators.

public: generic <typename T>
 where T : IEquatable<T>value class MemoryExtensions::SpanSplitEnumerator : System::Collections::Generic::IEnumerator<Range>
public: generic <typename T>
 where T : IEquatable<T>value class MemoryExtensions::SpanSplitEnumerator
public ref struct MemoryExtensions.SpanSplitEnumerator<T> : System.Collections.Generic.IEnumerator<Range> where T : IEquatable<T>
public ref struct MemoryExtensions.SpanSplitEnumerator<T> where T : IEquatable<T>
type MemoryExtensions.SpanSplitEnumerator<'T (requires 'T :> IEquatable<'T>)> = struct
    interface IEnumerator<Range>
    interface IEnumerator
    interface IDisposable
type MemoryExtensions.SpanSplitEnumerator<'T (requires 'T :> IEquatable<'T>)> = struct
Public Structure MemoryExtensions.SpanSplitEnumerator(Of T)
Implements IEnumerator(Of Range)
Public Structure MemoryExtensions.SpanSplitEnumerator(Of T)

Type Parameters

T

The type of items in the MemoryExtensions.SpanSplitEnumerator<T>.

Inheritance
MemoryExtensions.SpanSplitEnumerator<T>
Implements

Properties

Current

Gets the current element of the enumeration.

Source

Methods

GetEnumerator()

Gets an enumerator that allows for iteration over the split span.

MoveNext()

Advances the enumerator to the next element of the enumeration.

Explicit Interface Implementations

IDisposable.Dispose()
IEnumerator.Current
IEnumerator.Reset()

Applies to