Class HeatmapIndicatorDescriptor
The static description of a heatmap indicator: its identifier, label and visuals. Built once per indicator type,
usually with HeatmapIndicatorDescriptorBuilder (ATAS.Indicators), and shared by all its instances.
Added in ATAS 8.0.15.
public sealed record HeatmapIndicatorDescriptor
- Inheritance
-
objectHeatmapIndicatorDescriptor
- Extension Methods
Constructors
HeatmapIndicatorDescriptor(string, string?, IReadOnlyList<HeatmapIndicatorVisualDescriptor>)
The static description of a heatmap indicator: its identifier, label and visuals. Built once per indicator type,
usually with HeatmapIndicatorDescriptorBuilder (ATAS.Indicators), and shared by all its instances.
public HeatmapIndicatorDescriptor(string IndicatorId, string? Label, IReadOnlyList<HeatmapIndicatorVisualDescriptor> Visuals)
Parameters
IndicatorIdstringThe identifier of the indicator type;
Describe<TSelf>()takes it from the TypeId of the[HeatmapIndicator]attribute.LabelstringThe display name of the indicator, shown in the list of active indicators over the heatmap; the type identifier is shown when it is null or blank.
VisualsIReadOnlyList<HeatmapIndicatorVisualDescriptor>The visuals of the indicator, each with a VisualId unique within the descriptor.
Properties
Identity
Builder-issued identity. Set when the descriptor was built via the
fluent HeatmapIndicatorDescriptorBuilder; the state builder uses
this to cross-check supplied visual / series handles. Default value
(no token) for descriptors built via the record literal — those
descriptors do not get the cross-check, but they also cannot mint
handles, so misuse is impossible.
public HeatmapIndicatorDescriptorIdentity Identity { get; init; }
Property Value
IndicatorId
The identifier of the indicator type; Describe<TSelf>() takes it from the
TypeId of the [HeatmapIndicator] attribute.
public string IndicatorId { get; init; }
Property Value
- string
Label
The display name of the indicator, shown in the list of active indicators over the heatmap; the type identifier is shown when it is null or blank.
public string? Label { get; init; }
Property Value
- string
Visuals
The visuals of the indicator, each with a VisualId unique within the descriptor.
public IReadOnlyList<HeatmapIndicatorVisualDescriptor> Visuals { get; init; }
Property Value
- IReadOnlyList<HeatmapIndicatorVisualDescriptor>
Methods
Deconstruct(out string, out string?, out IReadOnlyList<HeatmapIndicatorVisualDescriptor>)
public void Deconstruct(out string IndicatorId, out string? Label, out IReadOnlyList<HeatmapIndicatorVisualDescriptor> Visuals)
Parameters
IndicatorIdstringLabelstringVisualsIReadOnlyList<HeatmapIndicatorVisualDescriptor>
Equals(HeatmapIndicatorDescriptor?)
public bool Equals(HeatmapIndicatorDescriptor? other)
Parameters
Returns
- bool
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(HeatmapIndicatorDescriptor?, HeatmapIndicatorDescriptor?)
public static bool operator ==(HeatmapIndicatorDescriptor? left, HeatmapIndicatorDescriptor? right)
Parameters
Returns
- bool
operator !=(HeatmapIndicatorDescriptor?, HeatmapIndicatorDescriptor?)
public static bool operator !=(HeatmapIndicatorDescriptor? left, HeatmapIndicatorDescriptor? right)
Parameters
Returns
- bool