Interface IHeatmapVisualStateLease
- Namespace
- ATAS.Indicators.Heatmap
- Assembly
- ATAS.Indicators.dll
The exclusive write lease on an IHeatmapVisualState.
Acquired via 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).
Added in ATAS 8.0.15.
public interface IHeatmapVisualStateLease
- Extension Methods
Methods
Series<TValue>(HeatmapIndicatorSeriesHandle<TValue>)
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).
IHeatmapSeriesLease<TValue> Series<TValue>(HeatmapIndicatorSeriesHandle<TValue> handle)
Parameters
handleHeatmapIndicatorSeriesHandle<TValue>
Returns
- IHeatmapSeriesLease<TValue>
Type Parameters
TValue
Visual(HeatmapIndicatorVisualHandle)
Address a visual for mutation. Throws if the supplied handle does not belong to this state's descriptor.
IHeatmapVisualLease Visual(HeatmapIndicatorVisualHandle handle)
Parameters
handleHeatmapIndicatorVisualHandle