Class GridTraceIntervalScratch
Owns reusable caller-side storage for allocation-free warmed interval traces.
public sealed class GridTraceIntervalScratch
- Inheritance
-
GridTraceIntervalScratch
- Inherited Members
Remarks
Instances retain capacity and are not thread-safe. Reentrant tracing or clearing an active instance throws before caller output is modified. Completed traces release temporary grid references.
Constructors
GridTraceIntervalScratch(int, int)
Creates trace scratch with optional expected grid and address counts.
public GridTraceIntervalScratch(int gridCapacity = 0, int addressCapacity = 0)
Parameters
Methods
Clear()
Clears temporary values while retaining capacity.
public void Clear()