Show / Hide Table of Contents

Struct Pointer<T>.Enumerator

Represents enumerator over raw memory.

Implements
IEnumerator<T>
IEnumerator
IDisposable
Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public struct Enumerator : IEnumerator<T>, IEnumerator, IDisposable

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()

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerator.Current

Declaration
object IEnumerator.Current { get; }
Returns
Type Description
Object

Implements

System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable

Extension Methods

Sequence.Skip<T>(IEnumerator<T>, Int32)
Sequence.Skip<TEnumerator, T>(ref TEnumerator, Int32)
Sequence.Limit<T>(IEnumerator<T>, Int32, Boolean)
ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX