Class PlatformModuleAttribute
- Namespace
- ATAS.Indicators.Modules
- Assembly
- ATAS.Indicators.dll
Marks a class derived from PlatformModule as a custom module and supplies its discovery metadata. The platform lists only modules 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 PlatformModuleAttribute : Attribute
- Inheritance
-
objectAttributePlatformModuleAttribute
- Extension Methods
Constructors
PlatformModuleAttribute(string)
Marks the class as a custom module.
public PlatformModuleAttribute(string id)
Parameters
idstringThe stable identifier of the module (Id).
Properties
DisplayName
Name shown in the menu of custom modules and as the panel title. If omitted, the class name is used.
public string? DisplayName { get; init; }
Property Value
- string
Id
Stable module identifier, e.g. "mycompany.tape-speed": <vendor>.<module-name> in
lowercase letters, digits and dashes. The platform saves the module in workspaces under this identifier, so it
must never change once the module is released. The vendor atas is reserved.
public string Id { get; }
Property Value
- string