Class SmartDomColumnAttribute
- Namespace
- ATAS.Indicators.SmartDom
- Assembly
- ATAS.Indicators.dll
Marks a class derived from SmartDomColumn as a SmartDOM column and supplies its discovery metadata. The platform lists only columns that carry this attribute.
Not in ATAS 8.0.15 yet: available from the next version.
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class SmartDomColumnAttribute : Attribute
- Inheritance
-
objectAttributeSmartDomColumnAttribute
- Extension Methods
Constructors
SmartDomColumnAttribute(string)
Marks the class as a SmartDOM column.
public SmartDomColumnAttribute(string id)
Parameters
idstringThe stable identifier of the column (Id).
Properties
DisplayName
Name shown in the list of available columns and as the default column header. If omitted, the class name is used.
public string? DisplayName { get; init; }
Property Value
- string
Id
Stable column identifier, e.g. "mycompany.bid-ask-imbalance": <vendor>.<column-name>
in lowercase letters, digits and dashes. The platform saves the column in workspaces and templates under
this identifier, so it must never change once the column is released. The vendor atas is reserved.
public string Id { get; }
Property Value
- string