Show / Hide Table of Contents

Class SequenceMarshalExtensions

Extends SequenceMarshal type.

Inheritance
object
SequenceMarshalExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.dll
Syntax
public static class SequenceMarshalExtensions

Methods

View Source

ToEnumerator<T>(in ReadOnlySequence<T>)

Gets enumerator over all elements in the sequence.

Declaration
public static IEnumerator<T> ToEnumerator<T>(in ReadOnlySequence<T> sequence)
Parameters
Type Name Description
ReadOnlySequence<T> sequence

The sequence to be converted.

Returns
Type Description
IEnumerator<T>

The enumerator over all elements in the sequence.

Type Parameters
Name Description
T

The type of elements in the sequence.

  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾