Namespace OFT.Attributes
Classes
- EnabledWhenAttribute
Keeps the property editable only when the specified source property's value matches one of the provided values; otherwise the editor is disabled (greyed out) in the settings UI. Mirrors VisibleWhenAttribute but disables the editor instead of hiding the row — use this when the property should stay visible so the user knows it exists, yet cannot be changed in the current mode.
Added in ATAS 8.0.15.
- Extensions
Reads the link and logo attributes of a class.
- FeatureIdAttribute
The identifier of the module a distributed class belongs to: the platform offers the class only to the accounts that have access to that module in the Personal Area. A class without it is available to anyone who has the file.
- HelpLinkAttribute
A link to a page about the class (an indicator, a strategy, a connector), shown in its settings window.
- IgnoreCloneAttribute
Excludes the property or field from the copy when the platform clones the object (for example the settings of a SmartDOM column).
- LogoAttribute
The logo of a connector or an indicator: an image resource of the same assembly, shown next to it in the lists of the platform.
- MappingAttribute
Keeps the name of the property when the assembly is obfuscated, for properties that are matched by name (for example when the platform maps objects to one another).
- ModuleHelpLinkAttribute
A help link of a platform module, opened by the help button of its panel.
Added in ATAS 8.0.15.
- ParameterAttribute
Adds the value of the property to the description of the indicator: the text in brackets after its name, for example in the list of selected indicators.
- ReferralLinkAttribute
A referral link to open an account with the broker or exchange of a connector, offered in the list of connection types.
- RegisterLinkAttribute
Adds a link (for example to register an account with a broker) to the description area of the settings window of a connector or an indicator, after its help link. A class may have several; they are shown by Order.
Added in ATAS 8.0.15.
- RequiredWhenAttribute
Behaves like System.ComponentModel.DataAnnotations.RequiredAttribute, but only while the specified source property's value matches one of the provided values; otherwise the property is always considered valid. Derives from System.ComponentModel.DataAnnotations.RequiredAttribute so it is enforced even by validators that run required-only checks (e.g.
Validator.TryValidateObjectwithvalidateAllProperties: false).Added in ATAS 8.0.15.
- SupportedExchangesAttribute
Specifies the exchange codes supported by a connector. The attribute accepts a type containing public const string fields, each representing a supported exchange code.
Added in ATAS 8.0.15.
- TabAttribute
Attribute that assigns a property or all properties of a class to a named tab in the settings UI. Use alongside System.ComponentModel.DataAnnotations.DisplayAttribute for property display metadata (Name, GroupName, Description, Order).
Added in ATAS 8.0.15.
- VisibleWhenAttribute
Makes the property visible only when the specified source property's value matches one of the provided values. Used for dynamic property visibility in the settings UI (e.g., showing/hiding properties based on a mode enum).
Added in ATAS 8.0.15.
Enums
- DataSeriesTypes
Enumerates the types of data series available for display on a chart.