Loading...
Searching...
No Matches
ATAS.Indicators.Heatmap.IHeatmapVisualStateLease Interface Reference

The exclusive write lease on an IHeatmapVisualState. Acquired via IHeatmapVisualState.BeginUpdate; disposing commits the back-stage to the front. A lease can only be used inside the calling stack frame — passing it across await points or to background tasks is a misuse pattern (the platform serialises every indicator callback on a single task, so all legitimate writes happen from inside one of those callbacks). More...

Inheritance diagram for ATAS.Indicators.Heatmap.IHeatmapVisualStateLease:
[legend]
Collaboration diagram for ATAS.Indicators.Heatmap.IHeatmapVisualStateLease:
[legend]

Public Member Functions

IHeatmapVisualLease Visual (HeatmapIndicatorVisualHandle handle)
 Address a visual for mutation. Throws if the supplied handle does not belong to this state's descriptor.
 
IHeatmapSeriesLease< TValue > Series< TValue > (HeatmapIndicatorSeriesHandle< TValue > handle)
 Direct series-access shortcut. Equivalent to Visual(handle.Visual).Series(handle) but skips the per-call dictionary lookup for the visual lease wrapper. Use when the indicator holds the series handle directly (typical reference pattern: one static readonly series handle per metric, captured at descriptor build time). Style/Presentation overrides still go through Visual(HeatmapIndicatorVisualHandle).
 

Detailed Description

The exclusive write lease on an IHeatmapVisualState. Acquired via IHeatmapVisualState.BeginUpdate; disposing commits the back-stage to the front. A lease can only be used inside the calling stack frame — passing it across await points or to background tasks is a misuse pattern (the platform serialises every indicator callback on a single task, so all legitimate writes happen from inside one of those callbacks).

Member Function Documentation

◆ Series< TValue >()

IHeatmapSeriesLease< TValue > ATAS.Indicators.Heatmap.IHeatmapVisualStateLease.Series< TValue > ( HeatmapIndicatorSeriesHandle< TValue >  handle)

Direct series-access shortcut. Equivalent to Visual(handle.Visual).Series(handle) but skips the per-call dictionary lookup for the visual lease wrapper. Use when the indicator holds the series handle directly (typical reference pattern: one static readonly series handle per metric, captured at descriptor build time). Style/Presentation overrides still go through Visual(HeatmapIndicatorVisualHandle).

◆ Visual()

IHeatmapVisualLease ATAS.Indicators.Heatmap.IHeatmapVisualStateLease.Visual ( HeatmapIndicatorVisualHandle  handle)

Address a visual for mutation. Throws if the supplied handle does not belong to this state's descriptor.


The documentation for this interface was generated from the following file: