Struct HeatmapTickBatch.Enumerator
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
memoryReadOnlyMemory<HeatmapTradeTick>The ticks to enumerate.
Properties
Current
The tick at the current position; valid after MoveNext() returned true.
public HeatmapTradeTick Current { get; }
Property Value
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.