Table of Contents

Struct HeatmapTickBatch.Enumerator

Namespace
OFT.Rendering.Heatmap
Assembly
OFT.Rendering.dll

Allocation-free enumerator over the ticks of a HeatmapTickBatch.

Added in ATAS 8.0.15.

public struct HeatmapTickBatch.Enumerator
Extension Methods

Constructors

Enumerator(ReadOnlyMemory<HeatmapTradeTick>)

Creates an enumerator positioned before the first tick.

public Enumerator(ReadOnlyMemory<HeatmapTradeTick> memory)

Parameters

memory ReadOnlyMemory<HeatmapTradeTick>

The ticks to enumerate.

Properties

Current

The tick at the current position; valid after MoveNext() returned true.

public HeatmapTradeTick Current { get; }

Property Value

HeatmapTradeTick

Methods

MoveNext()

Advances to the next tick.

public bool MoveNext()

Returns

bool

True when there is a next tick; false at the end of the batch.