Show / Hide Table of Contents

Struct Pointer<T>.Enumerator

Represents enumerator over raw memory.

Implements
IEnumerator<T>
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public struct Enumerator : IEnumerator<T>

Properties

| Improve this Doc View Source

Current

Current element.

Declaration
public T Current { get; }
Property Value
Type Description
T
| Improve this Doc View Source

Pointer

Pointer to the currently enumerating element.

Declaration
public Pointer<T> Pointer { get; }
Property Value
Type Description
Pointer<T>

Methods

| Improve this Doc View Source

Dispose()

Releases all resources with this enumerator.

Declaration
public void Dispose()
| Improve this Doc View Source

MoveNext()

Adjust pointer.

Declaration
public bool MoveNext()
Returns
Type Description
Boolean

true, if next element is available; false, if end of sequence reached.

| Improve this Doc View Source

Reset()

Sets the enumerator to its initial position.

Declaration
public void Reset()

Implements

IEnumerator<>

Extension Methods

ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX